Cancel Futures order

Weight: 1

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
orderIdINTEGERREQUIRED for clientOrderId not send1674945624754144000Order Id
clientOrderIdSTRINGREQUIRED for orderId not send99999999980002Client Order Id
typeSTRINGYLIMITType
symbolSTRINGETHUSDT-PERPETUALName of the contract
recvWindowLONG5000recv Window
timestampLONGY1714311403031Timestamp

Response Content


type = LIMIT

TYPEPARAMETERExample valuesDESCRIPTION
timeLONG1714403283482Timestamp when the order is created
updateTimeLONG1714403283501Last time this order was updated
orderIdINTEGER1674930571497840128Last time this order was updated
clientOrderIdSTRING99999999980001A unique ID of the order.
symbolSTRINGETHUSDT-PERPETUALName of the contract.
priceFLOAT3000Price of the order.
leverageFLOAT5Leverage of the order.
origQtyFLOAT10000Quantity ordered
executedQtyFLOAT0Quantity of orders that has been executed
avgPriceFLOAT0Average price of filled orders.
marginLockedFLOAT6000Amount of margin locked for this order. This includes the actually margin needed plus fees to open and close the position.
typeSTRINGLIMITThe order type, possible types: LIMIT, LIMIT_MAKER, MARKET_OF_BASE
sideSTRINGBUY_OPENThe price type. Possible values include INPUT and MARKET.
timeInForceSTRINGGTCDirection of the order. Possible values include BUY_OPEN, SELL_OPEN, BUY_CLOSE, and SELL_CLOSE.
statusSTRINGNEWThe state of the order.Possible values include NEW, PARTIALLY_FILLED, FILLED, CANCELED, PARTIALLY_CANCELED, and REJECTED.
priceTypeSTRINGINPUTTime in force. Possible values include GTC,FOK,IOC, and LIMIT_MAKER

type = STOP

TYPEPARAMETERExample valuesDESCRIPTION
timeLONG1714403283482Timestamp when order is created
updateTimeLONG1714403283501Last time this order was updated
orderIdINTEGER1674930571497840128Last time this order was updated
clientOrderIdSTRING99999999980001A unique ID of the order.
symbolSTRINGETHUSDT-PERPETUALName of the contract.
priceFLOAT3000Price of the order.
leverageFLOAT5Leverage of the order.
origQtyFLOAT10000Quantity ordered
typeSTRINGSTOPThe order type, possible types: STOP
sideSTRINGBUYDirection of the order. Possible values include BUY_OPEN, SELL_OPEN, BUY_CLOSE, and SELL_CLOSE.
statusSTRINGNEWThe state of the order.Possible values include NEW, PARTIALLY_FILLED, FILLED, CANCELED, PARTIALLY_CANCELED, and REJECTED.
stopPriceSTRING3000Average price of filled orders
Query Params
int32
Defaults to 1674945624754144000

The order ID of the order to be canceled

string
required
Defaults to 99999999980009

Unique client customized ID of the order.

string
required
Defaults to LIMIT

The order type, possible types: LIMIT and STOP.

string

Name of the contract.

int64

recvWindow

int64
required
Defaults to 1716704817522

Timestamp

string
required
Defaults to 719699bdb9bd854a286827b022641b6fc469b31c7049b4ba8fd076357ccc039d

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