{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / Candle

Type Alias: Candle

Candle = object

Defined in: query.ts:946

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: query.ts:948

Bucket-open timestamp (unix seconds), aligned to the interval.


openPrice

openPrice: string

Defined in: query.ts:950

First fill price in the bucket (raw).


high

high: string

Defined in: query.ts:952

Highest fill price in the bucket (raw).


low

low: string

Defined in: query.ts:954

Lowest fill price in the bucket (raw).


closePrice

closePrice: string

Defined in: query.ts:956

Last fill price in the bucket (raw).


baseVolume

baseVolume: string

Defined in: query.ts:958

Base/outcome-token volume in the bucket (raw).


quoteVolume

quoteVolume: string

Defined in: query.ts:960

Quote/collateral volume in the bucket (raw).


tradeCount

tradeCount: number

Defined in: query.ts:962

Number of fills in the bucket.