Trading

Cancel all orders

Cancels all the user's orders on a symbol, optionally only one side.

WSSwss://ws.bit2me.com/v1/tradingcancel-all-orders

Request to cancel all the user's orders on a symbol.

event*string
Valuecancel-all-orders
symbol*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]+$
ExampleB2M/EUR
side?string

Cancel only this side. Both sides when not sent.

Value inbuy | 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"]  }}