delete https://api-pro.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 | LONG | 1471090223379184384 | Account Number |
symbol | STRING | BTCUSD | 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 | LONG | 1483370868616793088 | System generated order ID |
transactTime | STRING | 1691567587389 | Millisecond timestamp |
price | DECIMAL | 28000 | Price |
origQty | DECIMAL | 0.01 | Quantity |
executedQty | DECIMAL | 0 | Traded Volume |
status | ENUM | CANCELED | Order status |
timeInForce | ENUM | GTC | Duration of the order before expiring |
type | ENUM | LIMIT | Order type |
side | ENUM | BUY | BUY or SELL |