Trading
Cancel all orders
Cancels all the user's orders on a symbol, optionally only one side.
WSS
wss://ws.bit2me.com/v1/tradingcancel-all-ordersRequest to cancel all the user's orders on a symbol.
event*string
Value
cancel-all-orderssymbol*string
Market symbol as BASE/QUOTE, uppercase. The list of valid symbols is GET /v2/trading/market-config.
Match
^[A-Z0-9]+/[A-Z0-9]+$Example
B2M/EURside?string
Cancel only this side. Both sides when not sent.
Value in
buy | sell{ "event": "cancel-all-orders", "symbol": "B2M/EUR", "side": "buy"}{ "event": "canceled-all-orders", "symbol": "B2M/EUR", "data": { "userId": "2bf436fc-43e6-459a-b647-6b446f72ad96", "cancelledOrders": ["c5dfb28b-a306-4682-acdd-1271a299ca6b"] }}