STRASMORE/EXPLORE 2,170 QUERIES 22Y EQUITIES · 12Y OPTIONS

2,170 answered market questions

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

DTE Meaning in Options: Days to Expiration
DTE menus compared: expirations traded and 0DTE share by underlying, July 8, 2026table · 2026-08-11 · 6×6 0DTE's rise: same-day share of SPY option volume, June 8-12 of each yearranking · 2026-08-11 · 7×4Preview: 7 ranked values, smallest first. The front of the curve: share of July 8, 2026 volume within a week of expiryscalar · 2026-08-11 · 1×361.8 Options volume by days to expiration: every US option traded July 8, 2026ranking · 2026-08-11 · 6×3Preview: 6 ranked values, largest first. DTE, worked on real contracts: SPY's most-traded option in each DTE band, July 8, 2026table · 2026-08-11 · 6×5 The price of time: at-the-money SPY call price by DTE, midday July 8, 2026series · 2026-08-11 · 11×3Preview: a 11-point series, ending lower.
DTE menus compared: expirations traded and 0DTE share by underlying, July 8, 2026

DTE menus compared: expirations traded and 0DTE share by underlying, July 8, 2026

most recentas of table 6×6read in context →
DTE menus compared: expirations traded and 0DTE share by underlying, July 8, 2026 — 6 rows by 6 columns, computed from US exchange, SIP and OPRA data.
underlyingexpiries_tradedshortest_dtelongest_dtepct_0dtecontracts_mm
SPY35089170.111.96
QQQ33089171.57.35
TSLA230891622.62
IWM33089146.61.89
AAPL25089161.81.51
KO16256200.04
the exact SQL behind every number
SELECT underlying,
       uniqExact(expiry) AS expiries_traded,
       min(dte) AS shortest_dte,
       max(dte) AS longest_dte,
       round(100.0 * sumIf(vol, dte = 0) / sum(vol), 1) AS pct_0dte,
       round(sum(vol) / 1e6, 2) AS contracts_mm
FROM (
    SELECT splitByChar(':', ticker)[2] AS raw,
           substring(raw, 1, length(raw) - 15) AS underlying,
           toFloat64(volume) AS vol,
           toDateOrNull(concat('20', substring(ticker, length(ticker) - 14, 6))) AS expiry,
           dateDiff('day', toDate(toTimeZone(window_start, 'America/New_York')), expiry) AS dte
    FROM global_markets.options_minute_aggs
    WHERE (ticker LIKE 'O:SPY2%' OR ticker LIKE 'O:QQQ2%' OR ticker LIKE 'O:IWM2%'
           OR ticker LIKE 'O:AAPL2%' OR ticker LIKE 'O:TSLA2%' OR ticker LIKE 'O:KO2%')
      AND window_start >= '2026-07-08 04:00:00'
      AND window_start < '2026-07-09 04:00:00'
)
WHERE dte >= 0
GROUP BY underlying
ORDER BY contracts_mm DESC
$