Cancelling one order
The remainder
remainder is about the unfilled stake that an order with expiresAt keeps working:
Each bet
Each bet carries acancellation:
filledStake after cancellation is what you keep at risk.
Cancelling again
Cancelling is safe to repeat. Cancelling an order that is already final returns the same outcomes again, and changes nothing.409 ORDER_BUSY means the order is being worked on at that moment, for example by its expiry remainder. Retry after a short delay.
Cancelling many orders
POST /v1/orders/cancel-all cancels orders in one of three scopes:
The answer has four lists:
cursor cannot be combined with orderIds. Cancellations count against the order budget of your key; see Limits.