@somnia-chain/markets-sdk / index / Candle
Type Alias: Candle
Candle =
object
Defined in: packages/sdk/src/candles.ts:22
One OHLCV candle (mirror of the indexer Candle entity). Candles exist for
ANY pool — spot or binary — so this is unprefixed, not binary-specific.
Prices are raw quote units per whole base (binary: the YES-probability
scale, same as lastPrice); volumes are raw.
Properties
bucketStart
bucketStart:
string
Defined in: packages/sdk/src/candles.ts:24
Bucket-open timestamp (unix seconds), aligned to the interval.
openPrice
openPrice:
string
Defined in: packages/sdk/src/candles.ts:26
First fill price in the bucket (raw).
high
high:
string
Defined in: packages/sdk/src/candles.ts:28
Highest fill price in the bucket (raw).
low
low:
string
Defined in: packages/sdk/src/candles.ts:30
Lowest fill price in the bucket (raw).
closePrice
closePrice:
string
Defined in: packages/sdk/src/candles.ts:32
Last fill price in the bucket (raw).
baseVolume
baseVolume:
string
Defined in: packages/sdk/src/candles.ts:34
Base/outcome-token volume in the bucket (raw).
quoteVolume
quoteVolume:
string
Defined in: packages/sdk/src/candles.ts:36
Quote/collateral volume in the bucket (raw).
tradeCount
tradeCount:
number
Defined in: packages/sdk/src/candles.ts:38
Number of fills in the bucket.