Batch Orders
- POST /capi/v2/order/batchOrders
Weight(IP): 5, Weight(UID): 10
Request parameters
| Parameter | Type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair | 
| orderDataList | List | Yes | Maximum batch processing limit of 20 orders, with the same structure as the futures placing endpoint | 
Request example
curl -X POST "https://api-contract.weex.com/capi/v2/order/placeOrder" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*" \
   -H "ACCESS-PASSPHRASE:*" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"symbol": "cmt_bchusdt","orderDataList": [{
      "client_oid": "11111122222222","size": "1","type": "1","order_type": "0",
      "match_price": "0","price": "100"}]}'
Response parameters
| Parameter | Type | Description | 
|---|---|---|
| result | boolean | Order status | 
| client_oid | string | Client-generated order identifier | 
| order_id | string | Filled order ID | 
Response example
{
	"order_info": [{
		"order_id": "596476148997685805",
		"client_oid": "order12346",
		"result": true,
		"error_code": "",
		"error_message": ""
	}],
	"result": true
}