Cancel Order

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.

Permission

  • Applies to both primary user and trading portfolio's API Key.
  • Permission: TRADE.

Rate Limit

  • main portfolio 1200 requests per 60 seconds, sub-portfolio 20 requests per 10 seconds

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