Trading
Market prices, status, event trading state, and trader overrides.
Needs canTrade. Routes: /dashboard/platform/trading, /trading/[marketId], /markets/[marketId].
Market.status:OPEN,SUSPENDED,CLOSED,GRADED; periodPREMATCHorLIVE.- Prices:
setMarketPriceswrites append-onlyPriceSnapshotrows.ingestSandboxPricestores a raw envelope and a snapshot from the price feed adapter. - Open or close:
setMarketStatuschecks the reviewed market version.suspendMarketsuspends quickly. Each change writesTradingStatusChange. - Event state:
setEventTradingStatemoves an event through live, ended, and other states. - Trader overrides:
requestTraderOverrideandapplyTraderOverrideunder dual control.
Price age matters at acceptance: a wager is refused with STALE_PRICE when the price is older than MAX_PRICE_AGE_MS (default 30 seconds).