How far SPY trades from its own open and close, 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-09-20, from Best Time of Day to Sell a Mutual Fund.
| et_time | avg_gap_to_close_pct | avg_gap_to_open_pct |
|---|---|---|
| 09:30 | 0.448 | 0.135 |
| 10:00 | 0.404 | 0.227 |
| 10:30 | 0.37 | 0.275 |
| 11:00 | 0.33 | 0.318 |
| 11:30 | 0.306 | 0.356 |
| 12:00 | 0.274 | 0.38 |
| 12:30 | 0.257 | 0.4 |
| 13:00 | 0.241 | 0.417 |
| 13:30 | 0.214 | 0.433 |
| 14:00 | 0.191 | 0.433 |
| 14:30 | 0.171 | 0.447 |
| 15:00 | 0.141 | 0.474 |
| 15:30 | 0.088 | 0.486 |
- Rows × columns
- 13 × 3
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
et_time |
text | 13 distinct values (09:30, 10:00, 10:30…) | |
avg_gap_to_close_pct |
number | 0.088 to 0.448 | percent |
avg_gap_to_open_pct |
number | 0.135 to 0.486 | 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 bars AS
(
SELECT
toDate(toTimeZone(window_start, 'America/New_York')) AS session_day,
toTimeZone(window_start, 'America/New_York') AS et,
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
),
anchors AS
(
SELECT
session_day,
argMin(px, et) AS open_px,
argMax(px, et) AS close_px
FROM bars
GROUP BY session_day
)
SELECT
formatDateTime(toStartOfInterval(b.et, INTERVAL 30 MINUTE), '%H:%i') AS et_time,
round(avg(abs(b.px / a.close_px - 1)) * 100, 3) AS avg_gap_to_close_pct,
round(avg(abs(b.px / a.open_px - 1)) * 100, 3) AS avg_gap_to_open_pct
FROM bars AS b
INNER JOIN anchors AS a ON a.session_day = b.session_day
GROUP BY et_time
ORDER BY et_time
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.