Modify Multiple Orders(TRADE)
#
API DescriptionModify Multiple Orders (TRADE)
#
HTTP RequestPUT /fapi/v1/batchOrders
#
Request Weight5
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
batchOrders | list\<JSON> | YES | order list. Max 5 orders |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Where batchOrders
is the list of order parameters in JSON
Name | Type | Mandatory | Description |
---|---|---|---|
orderId | LONG | NO | |
origClientOrderId | STRING | NO | |
symbol | STRING | YES | |
side | ENUM | YES | SELL , BUY |
quantity | DECIMAL | YES | Order quantity, cannot be sent with closePosition=true |
price | DECIMAL | YES | |
priceMatch | ENUM | NO | only avaliable for LIMIT /STOP /TAKE_PROFIT order; can be set to OPPONENT / OPPONENT_5 / OPPONENT_10 / OPPONENT_20 : /QUEUE / QUEUE_5 / QUEUE_10 / QUEUE_20 ; Can't be passed together with price |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- Parameter rules are same with
Modify Order
- Batch modify orders are processed concurrently, and the order of matching is not guaranteed.
- The order of returned contents for batch modify orders is the same as the order of the order list.
- One order can only be modfied for less than 10000 times
selfTradePreventionMode
isn't supported for modify order, modify order will set order'sselfTradePreventionMode
to NONE