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

Backtesting in Illiquid Markets: Fill Models
Quoted spread and displayed size at the touch, midday sliceranking · 2026-10-01 · 4×4Preview: 4 ranked values, largest first. Median session volume and a 2 percent participation budgetranking · 2026-10-01 · 4×4Preview: 4 ranked values, largest first. Markout curve after a high volume minute, liquid name against thin nameranking · 2026-10-01 · 6×4Preview: 6 ranked values, smallest first. Average absolute minute move by volume quintile, liquid name against thin nameranking · 2026-10-01 · 5×4Preview: 5 ranked values, smallest first.
Quoted spread and displayed size at the touch, midday slice

Quoted spread and displayed size at the touch, midday slice

most recentas of ranking 4×4read in context →
Quoted spread and displayed size at the touch, midday slice — 4 rows by 4 columns, computed from US exchange, SIP and OPRA data.
tickerquoted_spread_bpsavg_touch_sharesquote_updates
KO1.34367875853
SPY0.226933586907
SJM19.5175665127
AAPL1.311527148339
the exact SQL behind every number
SELECT
    ticker,
    round(avg(toFloat64(ask_price) - toFloat64(bid_price))
          / avg((toFloat64(ask_price) + toFloat64(bid_price)) / 2) * 10000, 1) AS quoted_spread_bps,
    round(avg(toFloat64(bid_size + ask_size) / 2) * 100, 0)                    AS avg_touch_shares,
    count()                                                                    AS quote_updates
FROM global_markets.cache_stocks_quotes
WHERE ticker IN ('SPY', 'AAPL', 'KO', 'SJM', 'LANC')
  AND sip_timestamp >= '2026-09-16 00:00:00'
  AND sip_timestamp <  '2026-09-17 00:00:00'
  AND (toHour(toTimeZone(sip_timestamp, 'America/New_York')) * 60
       + toMinute(toTimeZone(sip_timestamp, 'America/New_York'))) >= 600
  AND (toHour(toTimeZone(sip_timestamp, 'America/New_York')) * 60
       + toMinute(toTimeZone(sip_timestamp, 'America/New_York'))) < 720
  AND bid_price > 0
  AND ask_price > bid_price
GROUP BY ticker
ORDER BY avg_touch_shares DESC
$