@somnia-chain/markets-sdk / index / Candle
Type Alias: Candle
Candle =
object
Defined in: packages/sdk/src/candles.ts:21
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:23
Bucket-open timestamp (unix seconds), aligned to the interval.
openPrice
openPrice:
string
Defined in: packages/sdk/src/candles.ts:25
First fill price in the bucket (raw).
high
high:
string
Defined in: packages/sdk/src/candles.ts:27
Highest fill price in the bucket (raw).
low
low:
string
Defined in: packages/sdk/src/candles.ts:29
Lowest fill price in the bucket (raw).
closePrice
closePrice:
string
Defined in: packages/sdk/src/candles.ts:31
Last fill price in the bucket (raw).
baseVolume
baseVolume:
string
Defined in: packages/sdk/src/candles.ts:33
Base/outcome-token volume in the bucket (raw).
quoteVolume
quoteVolume:
string
Defined in: packages/sdk/src/candles.ts:35
Quote/collateral volume in the bucket (raw).
tradeCount
tradeCount:
number
Defined in: packages/sdk/src/candles.ts:37
Number of fills in the bucket.