delete https://api.liquiditytech.com/api/v1/trading/order
Rate Limit: 1200 requests per 60 seconds
Cancel an incomplete order, this api is asynchronous. Returning success only means that the request is successful. The final result needs to be confirmed through websocket subscription and order query.
Request
Name | Type | Mandatory | Description |
---|---|---|---|
orderId | String | N | Order ID |
clientOrderId | String | N | Customer-defined order ID |
Tip:Either orderId or clientOrderId must be sent. If both orderId and clientOrderId are provided, orderId takes precedence,note that you can only cancel orders in the NEW/OPEN/PARTIALLY_FILLED status,otherwise even if the api request successful, it does not mean that the order has been cancelled.
Response
Field name | Type | Remarks |
---|---|---|
orderId | String | Order ID |
clientOrderId | String | Customer-defined order ID |