STRASMORE/EXPLORE 2,170 QUERIES

Regular trading sessions over the trailing year

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-08-25, from Stock Market Holidays 2026–2027: NYSE & Nasdaq.

as of scalar 1×3read in context →
trading days
252
first session
2025-08-20
last session
2026-08-20
Rows × columns
1 × 3
Period covered
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 Regular trading sessions over the trailing year, derived from the stored result.
ColumnTypeRangeNotes
trading_days number every row is 252
first_session date 2025-08-20
last_session date 2026-08-20

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
    count()             AS trading_days,
    toString(min(d))    AS first_session,
    toString(max(d))    AS last_session
FROM
(
    SELECT toDate(toTimeZone(window_start, 'America/New_York')) AS d
    FROM global_markets.delayed_stocks_minute_aggs
    WHERE ticker = 'SPY'
      AND window_start >= today() - 370
      AND window_start <  today() - 4
      AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
           + toMinute(toTimeZone(window_start, 'America/New_York'))) >= 570
      AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
           + toMinute(toTimeZone(window_start, 'America/New_York'))) < 960
    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 analysisStock Market Holidays 2026–2027: NYSE & Nasdaq
The closure calendar ahead, at a glance scalar 1×6 Upcoming US stock market holidays and early closes series 12×6 Recently-passed weekday closures, recovered from the SPY tape series 4×3 Market status computed at this page's refresh: weekday check, holiday check, and the ET clock scalar 1×7 The most recent session on the tape: bar count, same-day SPY options prints, and the last half-day observed scalar 1×6 Trading sessions over the trailing year, counted from the SPY tape scalar 1×7 See all 2,170 queries →