@somnia-chain/markets-sdk / index / IntervalSource
Type Alias: IntervalSource
IntervalSource =
object
Defined in: packages/sdk/src/interval.ts:28
The minimal market shape needed to resolve a cadence — a structural subset of BinaryMarket, so these helpers stay dependency-free (no import cycle with the concept modules) and accept either the indexed row or a hand-built object. Fields accept the indexer's decimal strings OR plain numbers.
Properties
intervalSec?
optionalintervalSec?:string|number|null
Defined in: packages/sdk/src/interval.ts:31
Series cadence in seconds, as the indexer derived it (may be null on a row that predates the field, or on SPOT/PERP).
tradingStart?
optionaltradingStart?:string|number|null
Defined in: packages/sdk/src/interval.ts:33
Unix seconds trading opened.
expiry?
optionalexpiry?:string|number|null
Defined in: packages/sdk/src/interval.ts:35
Unix seconds trading ends / the outcome is decided.