Mutual Fund Exchange vs Selling and Rebuying
How many calendar days one trading session sits from the nextranking ·
2026-11-07 · 4×3
Upcoming US market holidays and early closesseries ·
2026-11-07 · 12×6
Average SPY volume per minute over the final half hour of the sessionseries ·
2026-11-07 · 30×2
How many calendar days one trading session sits from the next
How many calendar days one trading session sits from the next
| gap_label | session_pairs | share_pct |
|---|---|---|
| 1 calendar day | 213 | 78 |
| 2 calendar days | 3 | 1.1 |
| 3 calendar days | 50 | 18.3 |
| 4 calendar days | 7 | 2.6 |
the exact SQL behind every number
SELECT
concat(toString(gap_days), ' calendar day', if(gap_days = 1, '', 's')) AS gap_label,
count() AS session_pairs,
round(100 * count() / sum(count()) OVER (), 1) AS share_pct
FROM
(
SELECT arrayJoin(arrayDifference(arraySort(groupArray(session_day)))) AS gap_days
FROM
(
SELECT DISTINCT dateDiff('day', toDate('2000-01-01'), date) AS session_day
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'SPY'
AND date >= today() - 400
AND date <= today() - 3
)
)
WHERE gap_days > 0
GROUP BY gap_days
ORDER BY gap_days
More from this analysisMutual Fund Exchange vs Selling and Rebuying
Average SPY volume per minute over the final half hour of the session
series 30×2
→
Upcoming US market holidays and early closes
series 12×6
→
Longest breaks between US trading sessions, January to late July 2026
ranking 10×2
→
Short regular sessions on the SPY tape since January 2024
ranking 6×3
→
See all 3,293 queries →