Skip to content

charton API


charton API / @chart-on/core / index / MarketStatus

Interface: MarketStatus ​

Defined in: packages/core/src/util/market.ts:16

Where a market stands at a moment, from marketPhase: its current phase and the next change.

Properties ​

next ​

next: { phase: MarketPhase; time: number; } | null

Defined in: packages/core/src/util/market.ts:19

The next phase change, or null when none falls within three weeks (or the market never closes).


phase ​

phase: MarketPhase

Defined in: packages/core/src/util/market.ts:17