Cancel the current pending order
Type DELETE
Description: /v4/open-order
Parameters
| Name | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | No | N/A | Trading pair, if not filled in, represents all | — |
| bizType | string | Yes | N/A | Business type | SPOT, LEVER |
| side | string | No | N/A | Order side | BUY, SELL |
Limit Flow Rules
- 10/s/apikey
- Note: The parameters should be placed in the request body in the form of JSON.
Parameters Example
curl --location --request DELETE 'https://sapi.xt.com/v4/open-order?symbol=XT_USDT' \
--header 'accept: */*' \
--header 'Content-Type: application/json' \
--header 'validate-algorithms: HmacSHA256' \
--header 'validate-recvwindow: 60000' \
--header 'validate-appkey: xxxxxxxxxx' \
--header 'validate-timestamp: xxxxxxxxxx' \
--header 'validate-signature: xxxxxxxxxx'
--data '{
"bizType": "SPOT",
"symbol": "XT_USDT"
}'
Response Example
Response
{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": {}
}