A subscription is a record whose fields are series: chart.close is the current value and chart.close[1] the previous one. Market fields are nullable; a missing value plots as a gap.
Current forming CVD values. Read these values directly; history indexing with [n] is not supported.
isNew
bool
—
True during an update in which this subscription confirmed at least one period.
isRealtime
bool
—
True while the forming period receives live updates.
isHistory
bool
—
True during history replay.
isFirst
bool
—
True when index == 0.
index
int
—
Position of the current reference period in the loaded history, counting from 0.
isLast
bool
—
True during live updates of the last loaded period, which is still forming. Always false during historical replay and inside on X.close, including the transition to live data. Use it in on X.update to draw only at the live edge.
Opening time of the confirmed bar. [n] looks back by this subscription’s periods.
open
float?
[n]
Confirmed open price.
high
float?
[n]
Confirmed high price.
low
float?
[n]
Confirmed low price.
close
float?
[n]
Confirmed close price.
volume
float?
[n]
Confirmed total volume.
buyVolume
float?
[n]
Confirmed buy volume.
sellVolume
float?
[n]
Confirmed sell volume.
buyCount
int?
[n]
Confirmed buy trade count.
sellCount
int?
[n]
Confirmed sell trade count.
trades
int?
[n]
Confirmed trade count.
forming
OhlcvForming
—
Current forming OHLCV values. Read these values directly; history indexing with [n] is not supported.
isNew
bool
—
True during an update in which this subscription confirmed at least one period.
isRealtime
bool
—
True while the forming period receives live updates.
isHistory
bool
—
True during history replay.
isFirst
bool
—
True when index == 0.
index
int
—
Position of the current reference period in the loaded history, counting from 0.
isLast
bool
—
True during live updates of the last loaded period, which is still forming. Always false during historical replay and inside on X.close, including the transition to live data. Use it in on X.update to draw only at the live edge.
Current forming open-interest values. Read these values directly; history indexing with [n] is not supported.
isNew
bool
—
True during an update in which this subscription confirmed at least one period.
isRealtime
bool
—
True while the forming period receives live updates.
isHistory
bool
—
True during history replay.
isFirst
bool
—
True when index == 0.
index
int
—
Position of the current reference period in the loaded history, counting from 0.
isLast
bool
—
True during live updates of the last loaded period, which is still forming. Always false during historical replay and inside on X.close, including the transition to live data. Use it in on X.update to draw only at the live edge.
Confirmed mark price. Null when the feed carries no mark; aggregate exchange specs never have one.
fundingRate
float?
[n]
Confirmed funding rate.
forming
StatForming
—
Current last-value statistics view. Read these values directly; history indexing with [n] is not supported.
isNew
bool
—
True during an update in which this subscription confirmed at least one period.
isRealtime
bool
—
True while the forming period receives live updates.
isHistory
bool
—
True during history replay.
isFirst
bool
—
True when index == 0.
index
int
—
Position of the current reference period in the loaded history, counting from 0.
isLast
bool
—
True during live updates of the last loaded period, which is still forming. Always false during historical replay and inside on X.close, including the transition to live data. Use it in on X.update to draw only at the live edge.
Current forming volume-delta values. Read these values directly; history indexing with [n] is not supported.
isNew
bool
—
True during an update in which this subscription confirmed at least one period.
isRealtime
bool
—
True while the forming period receives live updates.
isHistory
bool
—
True during history replay.
isFirst
bool
—
True when index == 0.
index
int
—
Position of the current reference period in the loaded history, counting from 0.
isLast
bool
—
True during live updates of the last loaded period, which is still forming. Always false during historical replay and inside on X.close, including the transition to live data. Use it in on X.update to draw only at the live edge.