STRASMORE/EXPLORE 2,170 QUERIES

Trading sessions inside common calendar-day block windows

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-22, from Mutual Fund Frequent Trading Limits Explained.

as of ranking 4×2read in context →
Trading sessions inside common calendar-day block windows — 4 rows by 2 columns, computed from US exchange, SIP and OPRA data.
block_windowtrading_sessions
30 calendar days20
60 calendar days41
90 calendar days61
180 calendar days124
Rows × columns
4 × 2
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 Trading sessions inside common calendar-day block windows, derived from the stored result.
ColumnTypeRangeNotes
block_window text 4 distinct values
trading_sessions number 20 to 124

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
    concat(toString(w.days), ' calendar days') AS block_window,
    countDistinct(s.d)                         AS trading_sessions
FROM
(
    SELECT arrayJoin([30, 60, 90, 180]) AS days
) AS w
CROSS JOIN
(
    SELECT DISTINCT toDate(toTimeZone(window_start, 'America/New_York')) AS d
    FROM global_markets.delayed_stocks_minute_aggs
    WHERE ticker = 'SPY'
      AND window_start >= today() - 200
      AND window_start <  today() - 1
      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
) AS s
WHERE s.d > today() - w.days
GROUP BY w.days
ORDER BY w.days

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 analysisMutual Fund Frequent Trading Limits Explained
Minutes traded and distinct prices on the same session ranking 5×3 SPY five-minute price marks across one full session series 78×2 How far SPY sat from its own closing print, by time of day series 13×3 When Q1 2026 13F reports landed, by week after quarter end ranking 13×2 Most-filed EDGAR form types over the trailing year ranking 12×3 Quoted bid-ask spread by fund: venue quotes, 11:00 to 13:59 ET, July 22, 2026 ranking 7×4 See all 2,170 queries →