Validated, detached rules. Construction does not change global intervals or chart defaults.

Constructors

Properties

tickSchedule: null | TickSchedule

The validated tickBands, or null for a constant tick. A constant tick has no schedule, so it keeps a single snapping rule, priceTick, on every path: the order constraints, chart drags and anything the host builds.

Methods

  • The host clears old bars and owns source loading; only metadata is applied here.

    Parameters

    • chart: Chart
    • interval: string

    Returns void

  • Formats display only. The source bars retain their unrounded values.

    Parameters

    • value: number

    Returns string

  • The phases from one instant to another, as consecutive spans clipped to the range, which may be at most 400 days long.

    Parameters

    • fromUtcSeconds: number
    • toUtcSeconds: number

    Returns readonly SessionPhaseSpan[]

  • Provider tokens are exact: a feed may distinguish monthly M from minute m.

    Parameters

    • code: string

    Returns boolean