STRASMORE/EXPLORE 2,170 QUERIES

How far SPY sat from its own closing print, by time of day

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-08-22, from Mutual Fund Frequent Trading Limits Explained.

as of series 13×3read in context →
How far SPY sat from its own closing print, by time of day — 13 rows by 3 columns, computed from US exchange, SIP and OPRA data.
et_timemedian_gap_pctp90_gap_pct
09:300.3370.958
10:000.2970.876
10:300.2780.781
11:000.2370.754
11:300.220.69
12:000.1920.627
12:300.1790.582
13:000.1660.531
13:300.140.508
14:000.130.439
14:300.1180.394
15:000.1040.324
15:300.0640.203
Rows × columns
13 × 3
Period covered
to
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 How far SPY sat from its own closing print, by time of day, derived from the stored result.
ColumnTypeRangeNotes
et_time date 09:30 to 15:30
median_gap_pct number 0.064 to 0.337 percent
p90_gap_pct number 0.203 to 0.958 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.

the exact SQL behind every number
WITH bars AS
(
    SELECT
        toDate(toTimeZone(window_start, 'America/New_York')) AS session_date,
        toTimeZone(window_start, 'America/New_York')         AS et_ts,
        toFloat64(close)                                     AS px
    FROM global_markets.delayed_stocks_minute_aggs
    WHERE ticker = 'SPY'
      AND window_start >= today() - 370
      AND window_start <  today() - 2
      AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
           + toMinute(toTimeZone(window_start, 'America/New_York'))) >= 570
      AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
           + toMinute(toTimeZone(window_start, 'America/New_York'))) < 960
),
session_close AS
(
    SELECT
        session_date,
        argMax(px, et_ts) AS close_px
    FROM bars
    GROUP BY session_date
)
SELECT
    formatDateTime(toStartOfInterval(b.et_ts, INTERVAL 30 minute), '%H:%i') AS et_time,
    round(quantileDeterministic(0.5)(abs(b.px / c.close_px - 1) * 100, toUInt32(toUnixTimestamp(b.et_ts))), 3) AS median_gap_pct,
    round(quantileDeterministic(0.9)(abs(b.px / c.close_px - 1) * 100, toUInt32(toUnixTimestamp(b.et_ts))), 3) AS p90_gap_pct
FROM bars AS b
INNER JOIN session_close AS c ON c.session_date = b.session_date
GROUP BY et_time
ORDER BY et_time

Run your own version of this

The same 22 years of US equities and 12 years of options data are queryable in SQL or plain English. A free account runs 100 queries a day and takes no card.

More from this analysisMutual Fund Frequent Trading Limits Explained
SPY five-minute price marks across one full session series 78×2 Minutes traded and distinct prices on the same session ranking 5×3 Trading sessions inside common calendar-day block windows ranking 4×2 One session, many prices: VOO in half-hour marks, Wednesday July 22, 2026 series 32×3 The first active ETF share class: DFMC weekly closes since its March 2026 listing series 20×4 How long institutional managers take to file a 13F after quarter end series 12×4 See all 2,170 queries →