{"slug":"us-stock-market-hours-madrid-time","qid":"perfil_horario_madrid","label":"perfil_horario_madrid","post_title":"us-stock-market-hours-madrid-time","post_url":"/blog/lang/es/us-stock-market-hours-madrid-time#q-perfil_horario_madrid","columns":["hora_madrid","hora_ny","cuota_pct","millones_por_sesion","fin_del_tramo"],"rows":[{"hora_madrid":"10:00","hora_ny":"04:00","cuota_pct":0.24,"millones_por_sesion":0.1,"fin_del_tramo":"10:59"},{"hora_madrid":"11:00","hora_ny":"05:00","cuota_pct":0.11,"millones_por_sesion":0.05,"fin_del_tramo":"12:00"},{"hora_madrid":"12:00","hora_ny":"06:00","cuota_pct":0.17,"millones_por_sesion":0.07,"fin_del_tramo":"13:00"},{"hora_madrid":"13:00","hora_ny":"07:00","cuota_pct":0.48,"millones_por_sesion":0.21,"fin_del_tramo":"14:00"},{"hora_madrid":"14:00","hora_ny":"08:00","cuota_pct":1.03,"millones_por_sesion":0.44,"fin_del_tramo":"15:00"},{"hora_madrid":"15:00","hora_ny":"09:00","cuota_pct":9.8,"millones_por_sesion":4.17,"fin_del_tramo":"16:00"},{"hora_madrid":"16:00","hora_ny":"10:00","cuota_pct":12.58,"millones_por_sesion":5.36,"fin_del_tramo":"17:00"},{"hora_madrid":"17:00","hora_ny":"11:00","cuota_pct":11.37,"millones_por_sesion":4.84,"fin_del_tramo":"18:00"},{"hora_madrid":"18:00","hora_ny":"12:00","cuota_pct":7.71,"millones_por_sesion":3.28,"fin_del_tramo":"19:00"},{"hora_madrid":"19:00","hora_ny":"13:00","cuota_pct":7.11,"millones_por_sesion":3.03,"fin_del_tramo":"20:00"},{"hora_madrid":"20:00","hora_ny":"14:00","cuota_pct":9.96,"millones_por_sesion":4.24,"fin_del_tramo":"21:00"},{"hora_madrid":"21:00","hora_ny":"15:00","cuota_pct":24.84,"millones_por_sesion":10.58,"fin_del_tramo":"22:00"},{"hora_madrid":"22:00","hora_ny":"16:00","cuota_pct":13.49,"millones_por_sesion":5.75,"fin_del_tramo":"23:00"},{"hora_madrid":"23:00","hora_ny":"17:00","cuota_pct":0.76,"millones_por_sesion":0.32,"fin_del_tramo":"00:00"},{"hora_madrid":"00:00","hora_ny":"18:00","cuota_pct":0.26,"millones_por_sesion":0.11,"fin_del_tramo":"00:58"},{"hora_madrid":"01:00","hora_ny":"19:00","cuota_pct":0.09,"millones_por_sesion":0.04,"fin_del_tramo":"02:00"}],"shape":"table","sql":"WITH\n    (\n        SELECT sum(volume)\n        FROM global_markets.delayed_stocks_minute_aggs\n        WHERE ticker = 'SPY'\n          AND window_start >= '2026-09-01 00:00:00'\n          AND window_start <  '2026-10-07 00:00:00'\n    ) AS volumen_total\nSELECT\n    concat(leftPad(toString(hora), 2, '0'), ':00')                      AS hora_madrid,\n    min(formatDateTime(reloj_ny, '%H:00'))                              AS hora_ny,\n    round(100 * toFloat64(sum(volumen)) / toFloat64(volumen_total), 2)  AS cuota_pct,\n    round(toFloat64(sum(volumen)) / countDistinct(sesion) / 1e6, 2)     AS millones_por_sesion,\n    formatDateTime(toTimeZone(max(inicio) + toIntervalMinute(1), 'Europe/Madrid'), '%H:%i') AS fin_del_tramo\nFROM\n(\n    SELECT\n        window_start                                          AS inicio,\n        toHour(toTimeZone(window_start, 'Europe/Madrid'))     AS hora,\n        toTimeZone(window_start, 'America/New_York')          AS reloj_ny,\n        toDate(toTimeZone(window_start, 'America/New_York'))  AS sesion,\n        volume                                                AS volumen\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE ticker = 'SPY'\n      AND window_start >= '2026-09-01 00:00:00'\n      AND window_start <  '2026-10-07 00:00:00'\n)\nGROUP BY hora\nORDER BY if(hora < 4, hora + 24, hora)","computed_at":"2026-10-08T15:45:22.196762+00:00","elapsed":0.004256689}