Distance from one close to the next open, liquid names, 2025 (basis points)
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-16, from What Is Backtesting in Trading?.
| ticker | avg_abs_gap_bps | median_abs_gap_bps |
|---|---|---|
| AAPL | 73.3 | 36.4 |
| MSFT | 66.3 | 39.8 |
| TLT | 47.1 | 37.5 |
| SPY | 46.7 | 28.5 |
| KO | 38.1 | 23.5 |
- Rows × columns
- 5 × 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 |
|---|---|---|---|
ticker |
text | 5 distinct values (AAPL, KO, MSFT…) | |
avg_abs_gap_bps |
number | 38.1 to 73.3 | |
median_abs_gap_bps |
number | 23.5 to 39.8 |
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
px AS
(
SELECT
ticker,
date,
toFloat64(open) AS open_px,
toFloat64(close) AS close_px
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('SPY', 'AAPL', 'MSFT', 'KO', 'TLT')
AND date >= '2025-01-01'
AND date <= '2025-12-31'
),
gaps AS
(
SELECT
ticker,
date,
close_px,
leadInFrame(open_px) OVER (PARTITION BY ticker ORDER BY date ROWS BETWEEN CURRENT ROW AND 1 FOLLOWING) AS next_open
FROM px
)
SELECT
ticker,
round(avg(abs(next_open / close_px - 1)) * 10000, 1) AS avg_abs_gap_bps,
round(median(abs(next_open / close_px - 1)) * 10000, 1) AS median_abs_gap_bps
FROM gaps
WHERE next_open > 0
GROUP BY ticker
ORDER BY avg_abs_gap_bps DESC, ticker ASC
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.
Related queries
When market headlines publish, by New York clock hour
ranking 24×2
→
Growth of one dollar: holding all year vs holding only November through April
ranking 21×3
→
S&P 500 tracker: May to October vs November to April, season by season
ranking 21×3
→
SPY distributions by ex-dividend month: inside the May to October window vs outside it
ranking 19×3
→
Trading sessions per year under FB and META
ranking 15×3
→
New listings landing on a symbol that already had history
ranking 11×3
→
See all 2,272 queries →