Cancel an active order.
Weight(IP): 1
Security Type: TRADE
Notes:
orderId or origClientOrderId must be sent.Request parameters.
Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S); 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M); 1 on IP rate limit(x-mbx-used-weight-1m)
Security Type: TRADE
Notes:
orderId or origClientOrderId must be sent, and the orderId will prevail if both are sent.quantity and price must be sent.quantity or price doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.quantity <= executedQtyGTX and the new price will cause it to be executed immediatelyRequest parameters.
Send in a new order.
Weight(IP): 0
Security Type: TRADE
Notes:
type:
| Type | Additional mandatory parameters | | :---: | --- | | LIMIT | timeInForce, quantity, price | | MARKET | quantity | | STOP/TAKE_PROFIT | quantity, price, stopPrice | | STOP_MARKET/TAKE_PROFIT_MARKET | stopPrice | | TRAILING_STOP_MARKET | callbackRate |STOP, parameter timeInForce can be sent ( default GTC). * Order with type TAKE_PROFIT, parameter timeInForce can be sent ( default GTC). * Condition orders will be triggered when:priceProtect is sent as true:stopPrice,the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbolGET /dapi/v1/exchangeInfoSTOP, STOP_MARKET:stopPricestopPriceTAKE_PROFIT, TAKE_PROFIT_MARKET:stopPricestopPriceTRAILING_STOP_MARKET:activationPrice, and the latest price >= the lowest price * (1 + callbackRate)activationPrice, and the latest price <= the highest price * (1 - callbackRate)TRAILING_STOP_MARKET, if you got such error code.activationPrice should be smaller than latest price.activationPrice should be larger than latest price.newOrderRespType is sent as RESULT:MARKET order: the final FILLED result of the order will be return directly.LIMIT order with special timeInForce: the final status result of the order(FILLED or EXPIRED) will be returned directly.STOP_MARKET, TAKE_PROFIT_MARKET with closePosition=true:SELL) or current short position(if BUY).quantity parameterreduceOnly parameterBUY orders in LONG position side. and cannot be used with SELL orders in SHORT position sideRequest parameters.
Get current position information.
Weight(IP): 5
Security Type: USER_DATA
Notes:
ACCOUNT_UPDATE to meet your timeliness and accuracy needs.Request parameters.
Check an order's status.
These orders will not be found:
order status is CANCELED or EXPIRED AND order has NO filled trade AND created time + 3 days < current time
order create time + 90 days < current time
Weight(IP): 1
Security Type: USER_DATA
Notes:
orderId or origClientOrderId must be sent.Request parameters.
TradeApi - object-oriented interface TradeApi