Skip to main content

Batch Place Orders

Place multiple futures orders in a single request for the same symbol.

HTTP Request

POST /api/v1/future/order/batch-place-order

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesTrading pair symbol (e.g., BTCUSDT)
marginModestringYesMargin mode: "CROSSED" or "ISOLATED"
orderListarrayYesArray of orders to place

Order List Item Parameters

ParameterTypeRequiredDescription
sizestringYesOrder size
sidestringYesPosition side: "LONG" or "SHORT"
tradeSidestringYesTrade side: "OPEN" or "CLOSE"
orderTypestringYesOrder type: "LIMIT" or "MARKET"
pricestringNoOrder price (required for LIMIT orders)
forcestringNoTime in force: "POST_ONLY"
clientOidstringNoClient order ID
presetTakeProfitPricestringNoTake profit trigger price
presetStopLossPricestringNoStop loss trigger price
presetTakeProfitExecutePricestringNoTake profit execution price
presetStopLossExecutePricestringNoStop loss execution price

Request Example

curl -X POST "https://open-api.bydoxe.com/api/v1/future/order/batch-place-order" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json" \
-d '{
"symbol": "BTCUSDT",
"marginMode": "CROSSED",
"orderList": [
{
"size": "0.5",
"side": "LONG",
"tradeSide": "OPEN",
"orderType": "LIMIT",
"price": "40000.00",
"clientOid": "my-order-001"
},
{
"size": "0.3",
"side": "SHORT",
"tradeSide": "OPEN",
"orderType": "MARKET",
"clientOid": "my-order-002"
}
]
}'

Response Parameters

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataobjectBatch order result
> successListarrayArray of successfully placed orders
>> orderIdstringOrder ID
>> clientOidstringClient order ID
> failureListarrayArray of failed orders
>> orderIdstringOrder ID (empty if failed)
>> clientOidstringClient order ID
>> errorMsgstringError message
>> errorCodestringError code

Response Example

Success Response

{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": {
"successList": [
{
"orderId": "fu-123456789",
"clientOid": "my-order-001"
}
],
"failureList": [
{
"orderId": "",
"clientOid": "my-order-002",
"errorMsg": "Insufficient balance",
"errorCode": "40001"
}
]
}
}

Error Codes

Code
Same error codes as place-order, returned in failureList