SPY sessions up vs down across the half, one cheap receipt
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-07-26, from Market Recap: H1 2026.
up sessions
64
down sessions
59
flat sessions
0
sessions total
123
- Rows × columns
- 1 × 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 |
|---|---|---|---|
up_sessions |
number | every row is 64 | |
down_sessions |
number | every row is 59 | |
flat_sessions |
number | every row is 0 | |
sessions_total |
number | every row is 123 |
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
SELECT countIf(day_ret > 0) AS up_sessions,
countIf(day_ret < 0) AS down_sessions,
countIf(day_ret = 0) AS flat_sessions,
count() AS sessions_total
FROM (
SELECT toDate(toTimeZone(window_start, 'America/New_York')) AS d,
round((argMax(toFloat64(close), window_start) / argMin(toFloat64(open), window_start) - 1) * 100, 2) AS day_ret
FROM global_markets.delayed_stocks_minute_aggs
WHERE ticker = 'SPY'
AND window_start >= toDateTime('2026-01-01 00:00:00')
AND window_start < toDateTime('2026-07-01 00:00:00')
AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60 + toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959
GROUP BY d
)
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 analysisMarket Recap: H1 2026
Slope receipts: start, end, minimum, the spread never inverted this half
scalar 1×4
→
123 sessions in the half, verified from the tape
scalar 1×1
→
June: whole-tape options contract volume and same-day-expiry share (one scan)
scalar 1×3
→
May: whole-tape options contract volume and same-day-expiry share (one scan)
scalar 1×3
→
April: whole-tape options contract volume and same-day-expiry share (one scan)
scalar 1×3
→
March: whole-tape options contract volume and same-day-expiry share (one scan)
scalar 1×3
→
See all 2,170 queries →