charton API / @chart-on/core / index / SessionSchedule
Interface: SessionSchedule
Defined in: packages/core/src/util/session.ts:31
When a market trades, in the chart's timezone.
Days are trading days: an overnight range listed under mon starts on Sunday evening, and its bars belong to Monday.
Properties
holidays?
optionalholidays?:string[]
Defined in: packages/core/src/util/session.ts:35
ISO dates ('2024-12-25') of trading days with no session.
overrides?
optionaloverrides?:Record<string,SessionRange[]>
Defined in: packages/core/src/util/session.ts:40
One-day replacements for weekly, keyed by the ISO date of the trading day. They win over holidays; an empty list closes the day.
weekly
weekly:
Partial<Record<Weekday,SessionRange[]>>
Defined in: packages/core/src/util/session.ts:33
Ranges per weekday of the trading day. A missing or empty day is closed.