Source metadata offered by native charts and optionally by custom indicator hosts.

interface SeriesDataState {
    change: "reset" | "prepend" | "append" | "replace" | "correction";
    confirmation?: "forming" | "confirmed";
    confirmationSource?: "replay" | "provider";
    historyRevision: number;
    provenance: "live" | "history" | "replay";
    revision: number;
    sourceId: number;
}

Properties

change: "reset" | "prepend" | "append" | "replace" | "correction"
confirmation?: "forming" | "confirmed"
confirmationSource?: "replay" | "provider"
historyRevision: number

Advances whenever a previously calculated history prefix may have changed.

provenance: "live" | "history" | "replay"
revision: number
sourceId: number

Stable identity within the host; revisions belong to this source only.