gap_by_month
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-09, from nse-pre-open-session-explained.
| month | session_count | gap_over_0_5_pct | gap_over_1_pct |
|---|---|---|---|
| 2024-10 | 176 | 42 | 17.6 |
| 2024-11 | 160 | 40.6 | 16.2 |
| 2024-12 | 168 | 27.4 | 11.3 |
| 2025-01 | 160 | 51.2 | 28.1 |
| 2025-02 | 152 | 40.1 | 16.4 |
| 2025-03 | 168 | 50.6 | 30.4 |
| 2025-04 | 168 | 67.9 | 48.2 |
| 2025-05 | 168 | 56.5 | 30.4 |
| 2025-06 | 160 | 35.6 | 13.1 |
| 2025-07 | 176 | 30.7 | 5.1 |
| 2025-08 | 168 | 24.4 | 9.5 |
| 2025-09 | 168 | 26.8 | 13.7 |
| 2025-10 | 184 | 39.7 | 17.4 |
| 2025-11 | 152 | 39.5 | 19.1 |
| 2025-12 | 176 | 22.7 | 8 |
| 2026-01 | 160 | 46.2 | 20.6 |
| 2026-02 | 152 | 41.4 | 16.4 |
| 2026-03 | 176 | 59.7 | 24.4 |
| 2026-04 | 168 | 53.6 | 26.2 |
| 2026-05 | 160 | 50.6 | 18.1 |
| 2026-06 | 168 | 58.9 | 28.6 |
| 2026-07 | 176 | 64.2 | 36.4 |
| 2026-08 | 168 | 44.6 | 22.6 |
| 2026-09 | 168 | 54.2 | 28 |
- Rows × columns
- 24 × 4
- 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 |
|---|---|---|---|
month |
text | 24 distinct values (2024-10, 2024-11, 2024-12…) | |
session_count |
number | 152 to 184 | count |
gap_over_0_5_pct |
number | 22.7 to 67.9 | percent |
gap_over_1_pct |
number | 5.1 to 48.2 | 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
ticker,
date,
argMax(toFloat64(open), _ingest_time) AS open_px,
argMax(toFloat64(close), _ingest_time) AS close_px
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('AAPL', 'MSFT', 'NVDA', 'AMZN', 'JPM', 'JNJ', 'KO', 'XOM')
AND date >= '2024-10-01'
AND date < '2026-10-01'
GROUP BY ticker, date
),
gaps AS
(
SELECT
date,
open_px,
lagInFrame(close_px, 1) OVER (PARTITION BY ticker ORDER BY date ASC
ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) AS prev_close
FROM bars
)
SELECT
formatDateTime(toStartOfMonth(date), '%Y-%m') AS month,
count() AS session_count,
round(100 * countIf(abs(open_px / prev_close - 1) > 0.005) / count(), 1) AS gap_over_0_5_pct,
round(100 * countIf(abs(open_px / prev_close - 1) > 0.01) / count(), 1) AS gap_over_1_pct
FROM gaps
WHERE prev_close > 0
AND open_px > 0
GROUP BY month
ORDER BY month
या डेटासोबत तुमच्या AI सहाय्यकात काम करा
या पानावरील डेटासह, क्वेरीसाठी तयार उघडते. मोफत, खात्याशिवाय.