API Reference

Cancel 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

NameTypeMandatoryDescription
orderIdStringNOrder ID
clientOrderIdStringNCustomer-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 nameTypeRemarks
orderIdStringOrder ID
clientOrderIdStringCustomer-defined order ID
Language