delete https://api-glb.sim.hashkeydev.com/api/v1/futures/cancelAllOpenOrders
Cancel all open orders (Max 200 orders per request). If requesting via main trading account API Key, only orders from main trading account will be canceled, but not the ones from sub trading account.
Weight: 1
Request Parameters
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
symbol | STRING | ETHUSDT-PERPETUAL | Name of the contract. Return results for all symbols if not specified. | |
side | STRING | BUY | BUY or SELL | |
recvWindow | ||||
timestamp | LONG | Y | 1714311403031 | Timestamp |
fromOrderId | LONG | 1470930457684189696 | From Order ID | |
limit | INTEGER | 20 | Default 100, Maximum 200 |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
code | STRING | 0000 | Return code of cancellation request |
message | STRING | success | Return message of cancellation request. Reflecting whether the request is successfully accepted (does not indicate the task is successfully completed) |
timestamp | LONG | 1541161088303 | Timestamp when returning |
lastOrderId | LONG | 1470930457684189696 | Last Order ID to be canceled (return 0 if no order can be cacencelled) |