Skip to content

charton API


charton API / @chart-on/core / index / DayHours

Interface: DayHours ​

Defined in: packages/core/src/util/session.ts:51

One trading day's hours, in minutes of the wall-clock day.

Properties ​

overnight ​

overnight: [number, number] | null

Defined in: packages/core/src/util/session.ts:55

Range that starts at [0] the evening before and ends at [1] on the trading day.


ranges ​

ranges: [number, number][]

Defined in: packages/core/src/util/session.ts:53

Ranges on the trading day's own calendar date, sorted, as [start, end).