STRASMORE/EXPLORE 2,985 QUERIES

SPY sessions up vs down across the quarter, 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-16, from Market Recap: Q2 2026.

as of scalar 1×4read in context →
up sessions
36
down sessions
26
flat sessions
0
sessions total
62
Rows × columns
1 × 4
Computed
Completeness
No missing values
Source
US exchange, SIP and OPRA market data
Licence
Strasmore terms · free, no signup
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for SPY sessions up vs down across the quarter, one cheap receipt, derived from the stored result.
ColumnTypeRangeNotes
up_sessions number every row is 36
down_sessions number every row is 26
flat_sessions number every row is 0
sessions_total number every row is 62

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.

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-04-01 00:00:00')
      AND window_start < toDateTime('2026-07-01 00:00:00')
      AND (toHour(window_start) * 60 + toMinute(window_start)) BETWEEN 810 AND 1199
    GROUP BY d
)
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.

More from this analysisMarket Recap: Q2 2026
62 sessions in the quarter, verified from the tape, month by month scalar 1×4 → 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 → Q2's corporate calendar (the June 30 filing-index gap disclosed) scalar 1×6 → The 2s10s spread and the 10-year through Q2, daily table 63×3 → See all 2,985 queries →