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

MBO vs MBP Order Book Data Explained
Trade size mix in the same window (AAPL, 10:00 to 10:30 a.m. ET, June 16, 2026)ranking · 2026-08-12 · 5×4Preview: 5 ranked values, largest first. What changed between consecutive top-of-book messages (AAPL, 10:00 to 10:30 a.m. ET, June 16, 2026)ranking · 2026-08-12 · 4×3Preview: 4 ranked values, smallest first. Top-of-book messages against prints, 10:00 to 10:30 a.m. ET, June 16, 2026ranking · 2026-08-12 · 5×4Preview: 5 ranked values, largest first.
Trade size mix in the same window (AAPL, 10:00 to 10:30 a.m. ET, June 16, 2026)

Trade size mix in the same window (AAPL, 10:00 to 10:30 a.m. ET, June 16, 2026)

most recentas of ranking 5×4read in context →
Trade size mix in the same window (AAPL, 10:00 to 10:30 a.m. ET, June 16, 2026) — 5 rows by 4 columns, computed from US exchange, SIP and OPRA data.
trade_size_buckettrade_countshare_pctavg_shares
1 to 99 shares7015792.317
100 to 199 shares42575.6116
200 to 499 shares12531.6264
500 to 999 shares2060.3623
1000 or more shares1100.13853
the exact SQL behind every number
SELECT
    multiIf(size < 100,  '1 to 99 shares',
            size < 200,  '100 to 199 shares',
            size < 500,  '200 to 499 shares',
            size < 1000, '500 to 999 shares',
            '1000 or more shares')                 AS trade_size_bucket,
    count()                                        AS trade_count,
    round(100 * count() / sum(count()) OVER (), 1) AS share_pct,
    round(avg(size))                               AS avg_shares
FROM global_markets.stocks_trades
WHERE ticker = 'AAPL'
  AND sip_timestamp >= '2026-06-16 14:00:00'
  AND sip_timestamp <  '2026-06-16 14:30:00'
  AND size > 0
GROUP BY trade_size_bucket
ORDER BY min(size)
$