Skip to main content
Version: testnet (v0.71)

MarketState

The current state of a market

enum MarketState {
STATE_PROPOSED
STATE_REJECTED
STATE_PENDING
STATE_CANCELLED
STATE_ACTIVE
STATE_SUSPENDED
STATE_CLOSED
STATE_TRADING_TERMINATED
STATE_SETTLED
}

Values

MarketState.STATE_PROPOSED

The governance proposal valid and accepted

MarketState.STATE_REJECTED

Outcome of governance votes is to reject the market

MarketState.STATE_PENDING

Governance vote passes/wins

MarketState.STATE_CANCELLED

Market triggers cancellation condition or governance votes to close before market becomes Active

MarketState.STATE_ACTIVE

Enactment date reached and usual auction exit checks pass

MarketState.STATE_SUSPENDED

Price monitoring or liquidity monitoring trigger

MarketState.STATE_CLOSED

Governance vote (to close)

MarketState.STATE_TRADING_TERMINATED

Defined by the product (i.e. from a product parameter, specified in market definition, giving close date/time)

MarketState.STATE_SETTLED

Settlement triggered and completed as defined by product

Member of

Market object ● MarketData object ● ObservableMarketData object