STRASMORE/EXPLORE 3,214 QUERIES

spreads_by_hour

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-10-08, from us-premarket-and-after-hours-east-africa-time.

as of series 16×4read in context →
spreads_by_hour — 16 rows by 4 columns, computed from US exchange, SIP and OPRA data.
eat_timeoutside_regularmedian_spread_bpsquote_count
12:00110.26514
11:0018.461238
13:0018.15377
01:0018.12810
02:0016.926702
14:0016.631341
15:0014.22652
23:0013.91935
00:0012.71325
16:0012.09103597
17:0001.279653
21:0001.2121565
18:0001.268686
22:0000.91163432
20:0000.943248
19:0000.943372
Rows × columns
16 × 4
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 spreads_by_hour, derived from the stored result.
ColumnTypeRangeNotes
eat_time text 16 distinct values (00:00, 01:00, 02:00…)
outside_regular number 0 to 1
median_spread_bps number 0.9 to 10.26
quote_count number 325 to 163,432 count

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.

Run it yourself

This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.

SELECT
    formatDateTime(toTimeZone(sip_timestamp, 'Africa/Nairobi'), '%H:00') AS eat_time,
    if(toHour(toTimeZone(sip_timestamp, 'America/New_York')) BETWEEN 10 AND 15, 0, 1) AS outside_regular,
    round(quantileDeterministic(0.5)(
              10000 * (toFloat64(ask_price) - toFloat64(bid_price))
                    / ((toFloat64(ask_price) + toFloat64(bid_price)) / 2),
              toUInt64(sequence_number)), 2) AS median_spread_bps,
    count()                        AS quote_count
FROM global_markets.cache_stocks_quotes
WHERE ticker = 'AAPL'
  AND sip_timestamp >= '2026-09-16 08:00:00'
  AND sip_timestamp <  '2026-09-17 00:00:00'
  AND bid_price > 0
  AND ask_price > bid_price
GROUP BY eat_time, outside_regular
HAVING count() > 100
ORDER BY median_spread_bps DESC
⌘/Ctrl + Enter

Fanya kazi na data hii kwenye msaidizi wako wa AI

Hufunguka tayari kuuliza, na data ya ukurasa huu. Bure, bila akaunti.