PerpsCandle
One OHLCV candle from the indexer. Keys are camelCase (indexer wire shape).
Definition
class PerpsCandle(TypedDict):
pairId: str
interval: str
minBlockHeight: int
maxBlockHeight: int
open: str
high: str
low: str
close: str
volume: str
volumeUsd: str
timeStart: str
timeStartUnix: int
timeEnd: str
timeEndUnix: intFields
pairId — str.
interval — str. The wire form of CandleInterval (e.g. "ONE_MINUTE").
open/high/low/close — str. 6-decimal BigDecimal strings.
volume — str. Base-asset volume.
volumeUsd — str. Quote-asset (USD) volume.
timeStart/timeEnd — str. ISO-8601 datetime strings.
timeStartUnix/timeEndUnix — int. Unix milliseconds (despite the Unix suffix).
See also
perps_candles— fetchersubscribe_perps_candles— live stream