{"slug":"krx-after-hours-trading","qid":"us_clock_volume","label":"us_clock_volume","post_title":"krx-after-hours-trading","post_url":"/blog/krx-after-hours-trading#q-us_clock_volume","columns":["et_time","aapl_share_pct","ko_share_pct"],"rows":[{"et_time":"04:00","aapl_share_pct":0.272,"ko_share_pct":0.171},{"et_time":"04:30","aapl_share_pct":0.056,"ko_share_pct":0.035},{"et_time":"05:00","aapl_share_pct":0.053,"ko_share_pct":0.03},{"et_time":"05:30","aapl_share_pct":0.052,"ko_share_pct":0.023},{"et_time":"06:00","aapl_share_pct":0.05,"ko_share_pct":0.021},{"et_time":"06:30","aapl_share_pct":0.099,"ko_share_pct":0.019},{"et_time":"07:00","aapl_share_pct":0.387,"ko_share_pct":0.057},{"et_time":"07:30","aapl_share_pct":0.396,"ko_share_pct":0.04},{"et_time":"08:00","aapl_share_pct":0.375,"ko_share_pct":0.072},{"et_time":"08:30","aapl_share_pct":0.494,"ko_share_pct":0.097},{"et_time":"09:00","aapl_share_pct":1.187,"ko_share_pct":0.212},{"et_time":"09:30","aapl_share_pct":15.569,"ko_share_pct":13.778},{"et_time":"10:00","aapl_share_pct":9.082,"ko_share_pct":8.512},{"et_time":"10:30","aapl_share_pct":7.341,"ko_share_pct":6.783},{"et_time":"11:00","aapl_share_pct":6.803,"ko_share_pct":6.463},{"et_time":"11:30","aapl_share_pct":5.809,"ko_share_pct":5.148},{"et_time":"12:00","aapl_share_pct":4.827,"ko_share_pct":4.888},{"et_time":"12:30","aapl_share_pct":4.484,"ko_share_pct":4.389},{"et_time":"13:00","aapl_share_pct":4.216,"ko_share_pct":3.992},{"et_time":"13:30","aapl_share_pct":4.346,"ko_share_pct":3.885},{"et_time":"14:00","aapl_share_pct":4.99,"ko_share_pct":4.474},{"et_time":"14:30","aapl_share_pct":5.486,"ko_share_pct":5.19},{"et_time":"15:00","aapl_share_pct":5.601,"ko_share_pct":6.343},{"et_time":"15:30","aapl_share_pct":12.884,"ko_share_pct":20.048},{"et_time":"16:00","aapl_share_pct":3.91,"ko_share_pct":4.718},{"et_time":"16:30","aapl_share_pct":0.458,"ko_share_pct":0.203},{"et_time":"17:00","aapl_share_pct":0.466,"ko_share_pct":0.082},{"et_time":"17:30","aapl_share_pct":0.112,"ko_share_pct":0.269},{"et_time":"18:00","aapl_share_pct":0.057,"ko_share_pct":0.016},{"et_time":"18:30","aapl_share_pct":0.043,"ko_share_pct":0.014},{"et_time":"19:00","aapl_share_pct":0.038,"ko_share_pct":0.01},{"et_time":"19:30","aapl_share_pct":0.057,"ko_share_pct":0.019}],"shape":"series","sql":"SELECT\n    formatDateTime(toStartOfInterval(b.et_ts, INTERVAL 30 MINUTE), '%H:%i')             AS et_time,\n    round(100 * toFloat64(sumIf(b.volume, b.ticker = 'AAPL')) / toFloat64(any(t.aapl_total)), 3) AS aapl_share_pct,\n    round(100 * toFloat64(sumIf(b.volume, b.ticker = 'KO'))   / toFloat64(any(t.ko_total)),   3) AS ko_share_pct\nFROM\n(\n    SELECT\n        ticker,\n        toTimeZone(window_start, 'America/New_York') AS et_ts,\n        volume\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE ticker IN ('AAPL', 'KO')\n      AND window_start >= today() - 45\n      AND window_start <  today() - 2\n      AND toHour(toTimeZone(window_start, 'America/New_York')) >= 4\n      AND toHour(toTimeZone(window_start, 'America/New_York')) < 20\n) AS b\nCROSS JOIN\n(\n    SELECT\n        sumIf(volume, ticker = 'AAPL') AS aapl_total,\n        sumIf(volume, ticker = 'KO')   AS ko_total\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE ticker IN ('AAPL', 'KO')\n      AND window_start >= today() - 45\n      AND window_start <  today() - 2\n      AND toHour(toTimeZone(window_start, 'America/New_York')) >= 4\n      AND toHour(toTimeZone(window_start, 'America/New_York')) < 20\n) AS t\nGROUP BY et_time\nORDER BY et_time","computed_at":"2026-09-23T14:45:37.045762+00:00","elapsed":0.400715841}