STRASMORE/EXPLORE 3,127 QUERIES

SPY: share of sessions opening a given distance from the prior close

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-06, from Buy Stop vs Sell Stop Orders: How Each Fires.

as of ranking 5×3read in context →
SPY: share of sessions opening a given distance from the prior close — 5 rows by 3 columns, computed from US exchange, SIP and OPRA data.
thresholdgap_down_share_pctgap_up_share_pct
0.25%23.5632.07
0.5%13.1915.81
1%4.894.3
2%10.81
3%0.440.33
Rows × columns
5 × 3
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 SPY: share of sessions opening a given distance from the prior close, derived from the stored result.
ColumnTypeRangeNotes
threshold text 5 distinct values (0.25%, 0.5%, 1%…)
gap_down_share_pct number 0.44 to 23.56 percent
gap_up_share_pct number 0.33 to 32.07 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 px AS
(
    SELECT
        date,
        toFloat64(open) AS open_px,
        toFloat64(lagInFrame(close, 1) OVER (ORDER BY date)) AS prev_close
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
      AND date >= '2016-01-01'
      AND date <  '2026-10-01'
),
gaps AS
(
    SELECT 100 * (open_px / prev_close - 1) AS gap_pct
    FROM px
    WHERE prev_close > 0
),
levels AS
(
    SELECT arrayJoin([0.25, 0.5, 1.0, 2.0, 3.0]) AS threshold_pct
)
SELECT
    concat(toString(threshold_pct), '%')                         AS threshold,
    round(100 * countIf(gap_pct <= -threshold_pct) / count(), 2) AS gap_down_share_pct,
    round(100 * countIf(gap_pct >=  threshold_pct) / count(), 2) AS gap_up_share_pct
FROM levels
CROSS JOIN gaps
GROUP BY threshold_pct, threshold
ORDER BY threshold_pct
⌘/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 analysisBuy Stop vs Sell Stop Orders: How Each Fires
Apple's eight widest downside opening gaps since 2021 ranking 8×4 → How often a 2 percent stop distance gets touched, by name ranking 6×3 → KO quoted spread by half hour of the ET clock, one pinned session series 14×3 → AAPL's ten largest overnight gaps down, Jan 2023 to Jun 2026 ranking 10×2 → Share of SPY sessions reaching a given distance from the open (Aug 2023 to Jul 2026) ranking 6×3 → Typical daily range and open-to-close move, trailing year ranking 6×3 → See all 3,127 queries →