interface StatuslineOptions {
    locale?: string;
    marketStatus?: boolean;
    now?: () => number;
}

Properties

locale?: string

BCP 47 tag for number formatting. Default: the runtime's.

marketStatus?: boolean

Show the market status from the chart's session calendar, while the chart's "Session state" switch is on. Nothing shows without a calendar that lays out phases. Default false.

now?: () => number

Clock for the market status, in milliseconds. Default Date.now.