A BarsRequest that can force a fresh fetch.

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

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

Skip the cached entry, fetch, and replace it with the fresh result.

signal?: AbortSignal

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

symbol: string
timeoutMs?: number

Deadline in milliseconds, including response-body reading.

to?: number