STRASMORE/EXPLORE 3,293 QUERIES 22Y EQUITIES · 12Y OPTIONS

3,293 answered market questions

every one with its exact SQL, its result and the date it was computed · free, no signup

MU: The Biggest Tape of June 2026
MU month by month, recomputed live: return, close, and regular-hours turnoverranking · 2026-07-13 · 6×4Preview: 6 ranked values, largest first.
page 7 of 7
Market-wide options volume by session, with monthly expirations labelled

Market-wide options volume by session, with monthly expirations labelled

most recentas of series 25×5read in context →
Market-wide options volume by session, with monthly expirations labelled — 25 rows by 5 columns, computed from US exchange, SIP and OPRA data.
sessioncontracts_msession_typemonthly_expiry_msession_id
Oct 569.4ordinary92.420261005
Oct 663.1ordinary92.420261006
Oct 763ordinary92.420261007
Oct 874.8ordinary92.420261008
Oct 971.2ordinary92.420261009
Oct 1252.5ordinary92.420261012
Oct 1359ordinary92.420261013
Oct 1481.2ordinary92.420261014
Oct 1581.1ordinary92.420261015
Oct 1692.4monthly expiration92.420261016
Oct 1964.8ordinary92.420261019
Oct 2058.2ordinary92.420261020
Oct 2162.6ordinary92.420261021
Oct 2276.2ordinary92.420261022
Oct 2366.4ordinary92.420261023
Oct 2660.8ordinary92.420261026
Oct 2757.2ordinary92.420261027
Oct 2852.3ordinary92.420261028
Oct 2958.8ordinary92.420261029
Oct 3092.1ordinary92.420261030
Nov 271.4ordinary92.420261102
Nov 353.8ordinary92.420261103
Nov 476ordinary92.420261104
Nov 593.8ordinary92.420261105
Nov 671.2ordinary92.420261106
the exact SQL behind every number
WITH tape AS (
    SELECT toDate(toTimeZone(window_start, 'America/New_York')) AS d,
           sum(toFloat64(volume)) AS vol
    FROM global_markets.options_minute_aggs
    WHERE window_start >= toDateTime(today() - 45, 'America/New_York')
    GROUP BY d
),
ranked AS (
    SELECT d, vol, row_number() OVER (ORDER BY d DESC) AS raw_rn
    FROM tape
),
cal AS (
    SELECT d, vol, rn, sum(if(rn BETWEEN 2 AND 21, 1, 0)) OVER () AS baseline_sessions
    FROM (
        SELECT d, vol, row_number() OVER (ORDER BY d DESC) AS rn
        FROM ranked
        WHERE vol >= 0.75 * (SELECT quantileExact(0.5)(vol) FROM ranked WHERE raw_rn > 1)
    )
),
w AS (
    SELECT d, vol,
           toStartOfMonth(d) + toIntervalDay(((5 - toDayOfWeek(toStartOfMonth(d)) + 7) % 7) + 14) AS third_friday
    FROM cal
    WHERE rn <= 25
),
marked AS (
    SELECT d, vol,
           (d = max(if(d <= third_friday, d, toDate('1970-01-01'))) OVER (PARTITION BY toStartOfMonth(d)))
             AND (third_friday <= max(d) OVER ()) AS is_expiry
    FROM w
),
latest AS (
    SELECT d, vol, is_expiry,
           max(if(is_expiry, d, toDate('1970-01-01'))) OVER () AS last_expiry_d
    FROM marked
)
SELECT formatDateTime(d, '%b %e') AS session,
       round(vol / 1e6, 1) AS contracts_m,
       multiIf(is_expiry, 'monthly expiration', 'ordinary') AS session_type,
       round(max(if(d = last_expiry_d, vol, 0)) OVER () / 1e6, 1) AS monthly_expiry_m,
       toYYYYMMDD(d) AS session_id
FROM latest
ORDER BY d ASC
$