{"slug":"us-market-volume-by-hour-beijing-time","qid":"coverage","label":"coverage","post_title":"us-market-volume-by-hour-beijing-time","post_url":"/blog/lang/zh-hans/us-market-volume-by-hour-beijing-time#q-coverage","columns":["month","sessions","avg_session_bars"],"rows":[{"month":"2026-04","sessions":21,"avg_session_bars":390},{"month":"2026-05","sessions":20,"avg_session_bars":390},{"month":"2026-06","sessions":21,"avg_session_bars":390}],"shape":"series","sql":"SELECT\n    formatDateTime(toStartOfMonth(session_date), '%Y-%m') AS month,\n    countDistinct(session_date)                           AS sessions,\n    round(count() / countDistinct(session_date), 0)       AS avg_session_bars\nFROM\n(\n    SELECT\n        toTimeZone(window_start, 'America/New_York') AS et,\n        toDate(et)                                   AS session_date,\n        toHour(et) * 60 + toMinute(et)               AS et_min\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE ticker = 'SPY'\n      AND window_start >= toDateTime('2026-04-01 04:00:00', 'UTC')\n      AND window_start <  toDateTime('2026-07-01 04:00:00', 'UTC')\n      AND et_min >= 570\n      AND et_min <  960\n)\nGROUP BY toStartOfMonth(session_date)\nORDER BY toStartOfMonth(session_date)","computed_at":"2026-09-26T15:42:13.915617+00:00","elapsed":0.0027608}