Cancel Order (TRADE)
Cancel an active order.
Either orderId or origClientOrderId must be sent.
Weight(IP): 1
Query parameters
Trading symbol, e.g. BNBUSDT
Order id
Order id from client
Used to uniquely identify this cancel. Automatically generated by default
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Cancelled order
Example response
{
"symbol": "BNBBTC",
"origClientOrderId": "msXkySR3u5uYwpvRMFsi3u",
"orderId": 28,
"orderListId": -1,
"clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
"transactTime": 1507725176595,
"price": "1.00000000",
"origQty": "10.00000000",
"executedQty": "10.00000000",
"cummulativeQuoteQty": "10.00000000",
"status": "FILLED",
"timeInForce": "GTC",
"type": "LIMIT",
"side": "SELL",
"selfTradePreventionMode": "NONE"
}Changes
Changed in 3 of the 26 revisions of this API.720
- ○
added the new optional
queryrequest parametercancelRestrictionsnew-optional-request-parameter
- ○
added the required property
transactTimeto the response with the200statusresponse-required-property-added
- ○
- ○
added the required property
selfTradePreventionModeto the response with the200statusresponse-required-property-added
- ○
- ▲
for the
queryrequest parameterorderId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
the
cummulativeQuoteQtyresponse's property type/format changed fromnumber/floattostring/for status200response-property-type-changed
- ▲
the
executedQtyresponse's property type/format changed fromnumber/floattostring/for status200response-property-type-changed
- ▲
the
origQtyresponse's property type/format changed fromnumber/floattostring/for status200response-property-type-changed
- ▲
the
priceresponse's property type/format changed fromnumber/floattostring/for status200response-property-type-changed
- ○
the response property
clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
cummulativeQuoteQtybecame required for the status200response-property-became-required
- ○
the response property
executedQtybecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ○
the response property
orderIdbecame required for the status200response-property-became-required
- ○
the response property
orderListIdbecame required for the status200response-property-became-required
- ○
the response property
origClientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
origQtybecame required for the status200response-property-became-required
- ○
the response property
pricebecame required for the status200response-property-became-required
- ○
the response property
sidebecame required for the status200response-property-became-required
- ○
the response property
statusbecame required for the status200response-property-became-required
- ○
the response property
symbolbecame required for the status200response-property-became-required
- ○
the response property
timeInForcebecame required for the status200response-property-became-required
- ○
the response property
typebecame required for the status200response-property-became-required
- ▲