Mass Cancels and Purge Ports Explained
AAPL quoted spread in basis points, first hour of April 7, 2025series ·
2026-09-30 · 60×3
AAPL quote updates per second, volatile session vs quiet sessionseries ·
2026-09-30 · 54×4
How far AAPL travelled in each ten-minute bucket, same two sessionsseries ·
2026-09-30 · 54×3
Distinct option contracts that printed a trade on April 7, 2025ranking ·
2026-09-30 · 5×2
AAPL quoted spread in basis points, first hour of April 7, 2025
AAPL quoted spread in basis points, first hour of April 7, 2025
| et_time | avg_spread_bps | p90_spread_bps |
|---|---|---|
| 09:30 | 6.56 | 10.78 |
| 09:31 | 5.09 | 7.97 |
| 09:32 | 5.68 | 9.05 |
| 09:33 | 4.58 | 7.36 |
| 09:34 | 4.24 | 6.78 |
| 09:35 | 3.18 | 5.09 |
| 09:36 | 3.23 | 4.53 |
| 09:37 | 2.89 | 4.51 |
| 09:38 | 2.89 | 4.51 |
| 09:39 | 2.72 | 3.96 |
| 09:40 | 3.05 | 4.51 |
| 09:41 | 3.38 | 5.09 |
| 09:42 | 3.5 | 5.12 |
| 09:43 | 2.94 | 4.55 |
| 09:44 | 3.13 | 5.09 |
| 09:45 | 2.63 | 3.97 |
| 09:46 | 2.93 | 4.5 |
| 09:47 | 2.9 | 4.49 |
| 09:48 | 3.2 | 5.05 |
| 09:49 | 2.83 | 3.92 |
| 09:50 | 2.77 | 3.92 |
| 09:51 | 2.74 | 3.9 |
| 09:52 | 2.4 | 3.89 |
| 09:53 | 2.43 | 3.35 |
| 09:54 | 2.67 | 3.91 |
| 09:55 | 2.5 | 3.89 |
| 09:56 | 2.59 | 3.89 |
| 09:57 | 2.44 | 3.88 |
| 09:58 | 2.06 | 3.32 |
| 09:59 | 2.34 | 3.32 |
| 10:00 | 2.49 | 3.87 |
| 10:01 | 2.51 | 3.89 |
| 10:02 | 2.93 | 4.45 |
| 10:03 | 2.68 | 3.89 |
| 10:04 | 2.98 | 4.43 |
| 10:05 | 2.67 | 3.88 |
| 10:06 | 2.82 | 4.41 |
| 10:07 | 2.45 | 3.85 |
| 10:08 | 2.56 | 3.85 |
| 10:09 | 2.42 | 3.31 |
| 10:10 | 2.56 | 3.84 |
| 10:11 | 3.34 | 5.38 |
| 10:12 | 3.76 | 6.46 |
| 10:13 | 3.24 | 4.82 |
| 10:14 | 4.23 | 6.39 |
| 10:15 | 3.81 | 5.83 |
| 10:16 | 4.12 | 5.78 |
| 10:17 | 4.66 | 6.74 |
| 10:18 | 5.62 | 9.38 |
| 10:19 | 5.36 | 7.94 |
| 10:20 | 4.38 | 6.4 |
| 10:21 | 4.22 | 5.89 |
| 10:22 | 5.46 | 8.63 |
| 10:23 | 5.41 | 8.1 |
| 10:24 | 5.05 | 7.6 |
| 10:25 | 5.07 | 8.16 |
| 10:26 | 5.24 | 8.64 |
| 10:27 | 4.95 | 7.56 |
| 10:28 | 4.45 | 7.1 |
| 10:29 | 4.23 | 6.6 |
the exact SQL behind every number
SELECT
formatDateTime(toStartOfMinute(toTimeZone(sip_timestamp, 'America/New_York')), '%H:%i') AS et_time,
round(avg(spread_bps), 2) AS avg_spread_bps,
round(quantileDeterministic(0.90)(spread_bps, toUInt64(sequence_number)), 2) AS p90_spread_bps
FROM
(
SELECT
sip_timestamp,
sequence_number,
20000 * (toFloat64(ask_price) - toFloat64(bid_price))
/ (toFloat64(ask_price) + toFloat64(bid_price)) AS spread_bps
FROM global_markets.cache_stocks_quotes
WHERE ticker = 'AAPL'
AND sip_timestamp >= '2025-04-07 13:30:00'
AND sip_timestamp < '2025-04-07 14:30:00'
AND bid_price > 0
AND ask_price > bid_price
)
GROUP BY et_time
ORDER BY et_time
More from this analysisMass Cancels and Purge Ports Explained
AAPL quote updates per second, volatile session vs quiet session
series 54×4
→
How far AAPL travelled in each ten-minute bucket, same two sessions
series 54×3
→
Distinct option contracts that printed a trade on April 7, 2025
ranking 5×2
→
Trade prints per second through one full session, ET clock
series 78×2
→
See all 3,293 queries →