interface BarsRequest {
    countBack?: number;
    exchange: string;
    from?: number;
    interval: string;
    noCache?: boolean;
    signal?: AbortSignal;
    symbol: string;
    timeoutMs?: number;
    to?: number;
    variant?: DataVariant;
}

Hierarchy (View Summary)

Properties

countBack?: number

Preferred number of bars; a date-range feed may return a different count.

exchange: string
from?: number
interval: string

Interval token, e.g. "1m", "5m", "1h", "D".

noCache?: boolean

Fetch authoritative history instead of a cached snapshot, when supported.

signal?: AbortSignal

Cancel this consumer's request. Existing feeds may ignore cancellation.

symbol: string
timeoutMs?: number

Deadline in milliseconds, including response-body reading. The shared request pool holds it to 2^31 - 1 ms, the longest a timer waits.

to?: number
variant?: DataVariant

Which of the provider's series: a session, an adjustment, a currency or a unit. Absent is the provider's default. A feed serves only what it declares through dataVariants, and never derives one series from another.