Interface PriceLevelsOptions

interface PriceLevelsOptions {
    levels?: Partial<Record<PriceLevelKind, Partial<PriceLevelStyle>>>;
    marketPhase?: null | MarketPhaseFn;
    quote?: null | PriceLevelQuote | () => undefined | null | PriceLevelQuote;
    timezone?: string;
}

Properties

levels?: Partial<Record<PriceLevelKind, Partial<PriceLevelStyle>>>

Per-level overrides, merged over the defaults.

marketPhase?: null | MarketPhaseFn

Extended-hours classifier. Absent leaves the four extended levels inert.

quote?: null | PriceLevelQuote | () => undefined | null | PriceLevelQuote

Live quote, as a value or a callback read each frame. Absent leaves bid/ask inert.

timezone?: string

IANA zone for the calendar fallback when the bars show no session break.