{"slug":"primary-peg-and-market-peg-orders","qid":"touch_comparison","label":"Distance between the touches, five household names, 15 September 2026","post_title":"Primary Peg vs Market Peg Orders Explained","post_url":"/blog/primary-peg-and-market-peg-orders#q-touch_comparison","columns":["symbol","avg_spread_cents","tightest_spread_cents","avg_spread_bps"],"rows":[{"symbol":"MSFT","avg_spread_cents":13.22,"tightest_spread_cents":1,"avg_spread_bps":2.6},{"symbol":"AAPL","avg_spread_cents":3.6,"tightest_spread_cents":1,"avg_spread_bps":1.1},{"symbol":"SPY","avg_spread_cents":2.49,"tightest_spread_cents":1,"avg_spread_bps":0.3},{"symbol":"NVDA","avg_spread_cents":1.88,"tightest_spread_cents":1,"avg_spread_bps":0.9},{"symbol":"KO","avg_spread_cents":1.34,"tightest_spread_cents":1,"avg_spread_bps":1.5}],"shape":"ranking","sql":"SELECT\n    ticker                                                           AS symbol,\n    round(avg(toFloat64(ask_price) - toFloat64(bid_price)) * 100, 2) AS avg_spread_cents,\n    round(min(toFloat64(ask_price) - toFloat64(bid_price)) * 100, 2) AS tightest_spread_cents,\n    round(avg(toFloat64(ask_price) - toFloat64(bid_price))\n          / avg(toFloat64(bid_price)) * 10000, 1)                    AS avg_spread_bps\nFROM global_markets.cache_stocks_quotes\nWHERE ticker IN ('AAPL', 'MSFT', 'NVDA', 'SPY', 'KO')\n  AND sip_timestamp >= '2026-09-15 08:00:00'\n  AND sip_timestamp <  '2026-09-16 00:00:00'\n  AND bid_price > 0\n  AND ask_price > bid_price\nGROUP BY ticker\nORDER BY avg_spread_cents DESC","computed_at":"2026-10-08T15:29:23.420723+00:00","elapsed":0.002937733}