Cancel Order by orderId
Request via this endpoint to cancel a single stop order previously placed.
You will receive cancelledOrderIds field once the system has received the cancellation request. The cancellation request will be processed by the matching engine in sequence. To know if the request is processed (successfully or not), you may check the order status or the update message from the pushes.
HTTP REQUEST
DELETE /api/v1/stop-order/{orderId}
Example
DELETE /api/v1/stop-order/5bd6e9286d99522a52e458de
{
"cancelledOrderIds": ["611477889281bc0006d68aea"]
}
API KEY PERMISSIONS
This endpoint requires the Spot Trading or Margin Trading permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:3
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
orderId | String | Yes | Path parameter, Order Id unique identifier |
RESPONSES
Param | Description |
---|---|
cancelledOrderIds | Unique ID of the cancelled order |
The orderId is the server-assigned order id and not the passed clientOid.
CANCEL REJECT
If the order could not be canceled (already filled or previously canceled, etc), then an error response will indicate the reason in the message field.