{"slug":"how-to-estimate-queue-position","qid":"trade_sizes","label":"How AAPL prints break down by trade size, June 10 2026","post_title":"How to Estimate Queue Position From L2 Data","post_url":"/blog/how-to-estimate-queue-position#q-trade_sizes","columns":["trade_size_group","share_of_prints_pct","share_of_shares_pct"],"rows":[{"trade_size_group":"under 100 shares","share_of_prints_pct":90,"share_of_shares_pct":42.5},{"trade_size_group":"exactly 100 shares","share_of_prints_pct":3.7,"share_of_shares_pct":8.4},{"trade_size_group":"101 to 499 shares","share_of_prints_pct":5.8,"share_of_shares_pct":24.1},{"trade_size_group":"500 to 999 shares","share_of_prints_pct":0.4,"share_of_shares_pct":5},{"trade_size_group":"1000 shares or more","share_of_prints_pct":0.2,"share_of_shares_pct":19.9}],"shape":"ranking","sql":"SELECT\n    multiIf(size < 100,  'under 100 shares',\n            size = 100,  'exactly 100 shares',\n            size <= 499, '101 to 499 shares',\n            size <= 999, '500 to 999 shares',\n                         '1000 shares or more')             AS trade_size_group,\n    round(100 * count() / sum(count()) OVER (), 1)          AS share_of_prints_pct,\n    round(100 * sum(size) / sum(sum(size)) OVER (), 1)      AS share_of_shares_pct\nFROM global_markets.stocks_trades\nWHERE ticker = 'AAPL'\n  AND sip_timestamp >= '2026-06-10 14:00:00'\n  AND sip_timestamp <  '2026-06-10 20:00:00'\nGROUP BY trade_size_group\nORDER BY min(size)","computed_at":"2026-08-12T15:28:33.175337+00:00","elapsed":0.001907013}