The market at one instant, as a status readout shows it.

interface MarketStatus {
    changesAt: null | number;
    closesAt: null | number;
    nextPhase: null | SessionPhase;
    opensAt: null | number;
    phase: SessionPhase;
}

Properties

changesAt: null | number

When the phase next changes, in UTC seconds, or null when it holds for the next 14 days: a round-the-clock calendar, or a long closure. A readout that has to follow the market sets its timer for this instant.

closesAt: null | number

The close of that same session, or null when it is not within 14 days.

nextPhase: null | SessionPhase

The phase from changesAt, or null with it.

opensAt: null | number

The opening of the regular session in force, or else of the next one, in UTC seconds. Null when none opens within 14 days, or when the session in force has run for more than two days, as a round-the-clock one does.

The phase at the instant asked about.