Api
ChartDatafeedState
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
Realtime connection state of a chart's datafeed, reported by IChartWidgetApi.datafeedStatus.
loading-history also covers the wait for a promise-returning subscribeBars to confirm (bounded by
a deadline); reconnecting means history stays on screen while the stream is resubscribed with backoff.
export type ChartDatafeedState = "idle" | "resolving" | "loading-history" | "live" | "reconnecting" | "retrying" | "error" | "disposed";