delete https://api-glb.sim.hashkeydev.com/api/v1/spot/order
Cancel an existing order. Either orderId or clientOrderId must be sent.
Weight: 1
Request Parameters
| PARAMETER | TYPE | Req'd | DESCRIPTION |
|---|---|---|---|
| orderId | LONG | C | Order ID |
| clientOrderId | STRING | C | An ID defined by the client for the order |
| timestamp | LONG | Y | Timestamp |
Response Content
| PARAMETER | TYPE | Example values | DESCRIPTION |
|---|---|---|---|
| accountId | INTEGER | 1471090223379184384 | Account Number |
| symbol | STRING | BTCUSDT | Trading pair |
| clientOrderId | STRING | 999999999800023 | An ID defined by the client for the order, it will be automatically generated if it is not sent in the request |
| orderId | INTEGER | 1483370868616793088 | System generated order ID |
| transactTime | INTEGER | 1691567587389 | Millisecond timestamp |
| price | STRING | 28000 | Price |
| origQty | STRING | 0.01 | Quantity |
| executedQty | STRING | 0 | Traded Volume |
| status | STRING | NEW | Order status |
| timeInForce | STRING | GTC | Duration of the order before expiring |
| type | STRING | LIMIT | Order type |
| side | STRING | BUY | BUY or SELL |