STRASMORE/EXPLORE 2,948 QUERIES

overlap_check

Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-10-02, from the-january-barometer.

as of ranking 3×4read in context →
overlap_check — 3 rows by 4 columns, computed from US exchange, SIP and OPRA data.
cohortyears_in_samplehit_full_year_pcthit_feb_to_dec_pct
All years2259.154.5
Up January1283.383.3
Down January103020
Rows × columns
3 × 4
Computed
Completeness
No missing values
Source
US exchange, SIP and OPRA market data
Licence
Strasmore terms · free, no signup
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for overlap_check, derived from the stored result.
ColumnTypeRangeNotes
cohort text 3 distinct values (All years, Down January, Up January)
years_in_sample number 10 to 22
hit_full_year_pct number 30 to 83.3 percent
hit_feb_to_dec_pct number 20 to 83.3 percent

Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.

Run it yourself

This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.

WITH yearly AS
(
    SELECT
        toYear(date)                              AS y,
        argMax(close, date)                       AS dec_close,
        argMaxIf(close, date, toMonth(date) = 1)   AS jan_close,
        countIf(toMonth(date) = 1)                AS jan_sessions,
        countIf(toMonth(date) = 12)               AS dec_sessions
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
    GROUP BY y
),
scored AS
(
    SELECT
        toFloat64(cur.jan_close) / toFloat64(prev.dec_close) - 1 AS jan_ret,
        toFloat64(cur.dec_close) / toFloat64(prev.dec_close) - 1 AS year_ret,
        toFloat64(cur.dec_close) / toFloat64(cur.jan_close) - 1  AS feb_to_dec_ret
    FROM yearly AS cur
    INNER JOIN yearly AS prev ON prev.y = cur.y - 1
    WHERE cur.jan_sessions >= 15
      AND cur.dec_sessions >= 15
),
tagged AS
(
    SELECT
        arrayJoin(['All years', if(jan_ret > 0, 'Up January', 'Down January')]) AS cohort,
        (jan_ret > 0) = (year_ret > 0)                                          AS matched_full_year,
        (jan_ret > 0) = (feb_to_dec_ret > 0)                                    AS matched_feb_to_dec
    FROM scored
)
SELECT
    cohort,
    count()                                 AS years_in_sample,
    round(100 * avg(matched_full_year), 1)  AS hit_full_year_pct,
    round(100 * avg(matched_feb_to_dec), 1) AS hit_feb_to_dec_pct
FROM tagged
GROUP BY cohort
ORDER BY multiIf(cohort = 'All years', 1, cohort = 'Up January', 2, 3)
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.

More from this analysisthe-january-barometer
year_by_year ranking 22×4 → index_check ranking 3×4 → era_split ranking 3×4 → scorecard table 3×5 → Top 25 weekly-options underlyings by distinct contracts traded, with expiration weekdays ranking 25×4 → Annualized volatility vs total return, 25 large caps, calmest to wildest (~2 years) ranking 25×3 → See all 2,948 queries →