{"slug":"how-to-estimate-queue-position","qid":"tick_constrained","label":"Average quoted spread and time at a one cent spread, midday June 10 2026","post_title":"How to Estimate Queue Position From L2 Data","post_url":"/blog/how-to-estimate-queue-position#q-tick_constrained","columns":["symbol","avg_spread_cents","one_cent_pct"],"rows":[{"symbol":"KO","avg_spread_cents":1.18,"one_cent_pct":82.5},{"symbol":"NVDA","avg_spread_cents":2.47,"one_cent_pct":11.8},{"symbol":"BKNG","avg_spread_cents":2.94,"one_cent_pct":15.9},{"symbol":"SPY","avg_spread_cents":3.09,"one_cent_pct":6.6},{"symbol":"AAPL","avg_spread_cents":3.34,"one_cent_pct":7.9},{"symbol":"MSFT","avg_spread_cents":8.46,"one_cent_pct":1.1}],"shape":"ranking","sql":"SELECT\n    ticker                                                AS symbol,\n    round(avg(toFloat64(ask_price - bid_price)) * 100, 2) AS avg_spread_cents,\n    round(100 * countIf(round(toFloat64(ask_price - bid_price) * 100) <= 1) / count(), 1) AS one_cent_pct\nFROM global_markets.cache_stocks_quotes\nWHERE ticker IN ('SPY', 'AAPL', 'KO', 'NVDA', 'MSFT', 'BKNG')\n  AND sip_timestamp >= '2026-06-10 15:00:00'\n  AND sip_timestamp <  '2026-06-10 19:00:00'\n  AND bid_price > 0\n  AND ask_price > bid_price\nGROUP BY ticker\nORDER BY avg_spread_cents","computed_at":"2026-08-12T15:28:33.351268+00:00","elapsed":0.001954711}