interface RangeWindowOptions {
    bars?: readonly { time: number }[];
    calendar?: null | SessionCalendarSource;
    end: number;
    zone?: string;
}

Properties

bars?: readonly { time: number }[]

Bars already loaded, oldest first. Without a calendar a session range counts the dates they fall on, and all starts at the first of them.

calendar?: null | SessionCalendarSource

Trading hours: a session range counts this calendar's sessions.

end: number

The instant the range ends at, in UTC seconds: the clock when sizing a fetch, the latest bar when placing a view.

zone?: string

The zone a month, a year and a date without a calendar are counted in. Default DEFAULT_TIMEZONE.