State machine
Status → trading effect
Terminal states — recovering value
Once a market is in any terminal state, any open orders against it
are auto-cancelled into
CANCELLED_BY_RESOLVE and locked balances
refunded to available — you don’t need to cancel them yourself.
See Settlement & Oracle for the
end-to-end resolution timeline.
Subscribing to status changes
OPEN status as “pause all new
orders” and wait for the transition back to OPEN.