@somnia-chain/markets-sdk / index / MarketStats24h
Interface: MarketStats24h
Defined in: derivedReads.ts:118
A market's trailing-24h activity, derived from OHLCV candle buckets. Prices are RAW quote units; volume is RAW quote (collateral) units.
Properties
volume24h
volume24h:
bigint
Defined in: derivedReads.ts:120
Σ quote volume over the window (raw collateral units).
trades24h
trades24h:
number
Defined in: derivedReads.ts:122
Σ trade count over the window.
priceChange24h
priceChange24h:
bigint
Defined in: derivedReads.ts:125
closePrice(last) − openPrice(first) over the window (raw, signed). 0n
if fewer than one candle in-window.
high24h
high24h:
bigint|null
Defined in: derivedReads.ts:127
Max high across the window (raw). null if no candles in-window.
low24h
low24h:
bigint|null
Defined in: derivedReads.ts:129
Min low across the window (raw). null if no candles in-window.
openPrice24h
openPrice24h:
bigint|null
Defined in: derivedReads.ts:131
openPrice of the first in-window candle (raw). null if none.