{"slug":"who-matches-overnight-us-stock-trades","qid":"early_share","label":"early_share","post_title":"who-matches-overnight-us-stock-trades","post_url":"/blog/who-matches-overnight-us-stock-trades#q-early_share","columns":["ticker","early_hours_pct","million_shares"],"rows":[{"ticker":"NVDA","early_hours_pct":5.22,"million_shares":70.8},{"ticker":"MSFT","early_hours_pct":1.43,"million_shares":12.2},{"ticker":"SPY","early_hours_pct":1.34,"million_shares":43.6},{"ticker":"AAPL","early_hours_pct":1.24,"million_shares":24.1},{"ticker":"KO","early_hours_pct":0.57,"million_shares":10.3},{"ticker":"XOM","early_hours_pct":0.18,"million_shares":10.3}],"shape":"ranking","sql":"SELECT\n    ticker,\n    round(100 * toFloat64(sumIf(volume, et_hour < 9)) / toFloat64(sum(volume)), 2) AS early_hours_pct,\n    round(toFloat64(sum(volume)) / 1e6, 1)                                         AS million_shares\nFROM\n(\n    SELECT\n        ticker,\n        volume,\n        toHour(toTimeZone(window_start, 'America/New_York')) AS et_hour\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE ticker IN ('AAPL', 'MSFT', 'NVDA', 'SPY', 'KO', 'XOM')\n      AND window_start >= toDateTime('2026-09-15 00:00:00', 'America/New_York')\n      AND window_start <  toDateTime('2026-09-16 00:00:00', 'America/New_York')\n)\nGROUP BY ticker\nHAVING sum(volume) > 0\nORDER BY early_hours_pct DESC","computed_at":"2026-10-03T16:02:33.979039+00:00","elapsed":0.002818578}