Cancel Order

Cancel an existing order. Either orderId or clientOrderId must be sent.

Weight: 1

Request Parameters


PARAMETERTYPEReq'dDESCRIPTION
orderIdLONGCOrder ID.
clientOrderIdSTRINGCAn ID defined by the client for the order
timestampLONGYTimestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
accountIdLONG1471090223379184384Account Number
symbolSTRINGBTCUSDTrading pair
clientOrderIdSTRING999999999800023An ID defined by the client for the order, it will be automatically generated if it is not sent in the request
orderIdLONG1483370868616793088System generated order ID
transactTimeSTRING1691567587389Millisecond timestamp
priceDECIMAL28000Price
origQtyDECIMAL0.01Quantity
executedQtyDECIMAL0Traded Volume
statusENUMCANCELEDOrder status
timeInForceENUMGTCDuration of the order before expiring
typeENUMLIMITOrder type
sideENUMBUYBUY or SELL
Query Params
int64

System generated order ID

string
Defaults to 123456789

Unique order identifier assigned by the client

int64
Defaults to 5000

recv Window

int64
required
Defaults to 1707493157004

Millisecond Timestamp

string
required
Defaults to 0f2c207fb1f4ba091c266f5d51ee29b8329bdda9cce866bfa7c7ac0739dc3f7b

Signature

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json