{"slug":"trade-throughs-and-iso-orders","qid":"odd_lots","label":"Share of prints by trade size: AAPL against KO","post_title":"What Is a Trade-Through? ISO Orders Explained","post_url":"/blog/trade-throughs-and-iso-orders#q-odd_lots","columns":["trade_size","aapl_pct","ko_pct","aapl_minus_ko_pct"],"rows":[{"trade_size":"1 to 99 (odd lot)","aapl_pct":90.6,"ko_pct":80.6,"aapl_minus_ko_pct":10},{"trade_size":"exactly 100","aapl_pct":3.6,"ko_pct":12.4,"aapl_minus_ko_pct":-8.8},{"trade_size":"101 to 499","aapl_pct":5.3,"ko_pct":6.1,"aapl_minus_ko_pct":-0.8},{"trade_size":"500 to 999","aapl_pct":0.4,"ko_pct":0.5,"aapl_minus_ko_pct":-0.2},{"trade_size":"1000 or more","aapl_pct":0.1,"ko_pct":0.4,"aapl_minus_ko_pct":-0.2}],"shape":"ranking","sql":"SELECT\n    multiIf(size < 100,  '1 to 99 (odd lot)',\n            size = 100,  'exactly 100',\n            size < 500,  '101 to 499',\n            size < 1000, '500 to 999',\n                         '1000 or more')                                       AS trade_size,\n    round(100 * countIf(ticker = 'AAPL')\n              / greatest(sum(countIf(ticker = 'AAPL')) OVER (), 1), 1)         AS aapl_pct,\n    round(100 * countIf(ticker = 'KO')\n              / greatest(sum(countIf(ticker = 'KO')) OVER (), 1), 1)           AS ko_pct,\n    round(100 * countIf(ticker = 'AAPL')\n              / greatest(sum(countIf(ticker = 'AAPL')) OVER (), 1)\n        - 100 * countIf(ticker = 'KO')\n              / greatest(sum(countIf(ticker = 'KO')) OVER (), 1), 1)           AS aapl_minus_ko_pct\nFROM global_markets.stocks_trades\nWHERE ticker IN ('AAPL', 'KO')\n  AND sip_timestamp >= '2026-06-10 14:00:00'\n  AND sip_timestamp <  '2026-06-10 14:30:00'\nGROUP BY trade_size\nORDER BY min(size)","computed_at":"2026-08-20T15:27:07.761545+00:00","elapsed":0.003756464}