Skip to main content
Cancels every open order on the account. Filled, cancelled, and expired orders are not affected. USDC reserved against cancelled limit-BUY orders is released back to balance.available; shares reserved against cancelled limit-SELL orders are released back to position lockedSize. Response
Returns the count of orders cancelled. Idempotent — calling against an account with no open orders returns {"cancelled": 0}.