Cancel order by orderId

Cancel an order (including a stop order).

You will receive success message once the system has received the cancellation request. The cancellation request will be processed by matching engine in sequence. To know if the request has been processed, you may check the order status or update message from the pushes.

The order id is the server-assigned order id, not the specified clientOid.

If the order can not be canceled (already filled or previously canceled, etc), then an error response will indicate the reason in the message field.

HTTP REQUEST

DELETE /api/v1/orders/{order-id}

Example

DELETE /api/v1/orders/5cdfc120b21023a909e5ad52

{
  "code": "200000",
  "data": {
    "cancelledOrderIds": ["5bd6e9286d99522a52e458de"]
  }
}
API KEY PERMISSIONS

This endpoint requires the Futures Trading permission.

REQUEST URL

This endpoint support Futures URL

REQUEST RATE LIMIT

Futures weight:1

RESPONSES
Param Description
cancelledOrderIds Unique ID of the cancelled order