Skip to main content

Cancel the current pending order

Type DELETE

Description: /v4/open-order


Parameters

NameTypeMandatoryDefaultDescriptionRanges
symbolstringNoN/ATrading pair, if not filled in, represents all
bizTypestringYesN/ABusiness typeSPOT, LEVER
sidestringNoN/AOrder sideBUY, 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": {}
}