Request curl -X POST 'https://trading-gateway-api.prod.thinkalpha.io/orders/batches' \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"orders": [
{
"account": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"attributes": {},
"duration": "gtc",
"exDestination": "string",
"expireTime": "2026-01-02T14:30:00Z",
"instructions": [
"DNR"
],
"instrument": {
"expiry": "2026-01-02",
"right": "call",
"strike": 0,
"type": "option",
"underlyingInstrument": {
"symbol": "string",
"type": "equity"
}
},
"isManualReviewEnabled": true,
"legs": [
{
"id": "string",
"instrument": {
"expiry": null,
"right": null,
"strike": null,
"type": null,
"underlyingInstrument": null
},
"openClose": "open",
"quantityRatio": 0,
"side": "buy"
}
],
"maxFloor": 0,
"nonce": "string",
"openClose": "open",
"price": 0,
"quantity": 1,
"route": "string",
"side": "buy",
"statusWebhook": "string",
"stopPrice": 0,
"tags": {},
"type": "market"
}
]
}'
Response · 201 {
"batchId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"orders": [
{
"account": "string",
"attributes": {},
"batchId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2026-01-02T14:30:00Z",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"duration": "gtc",
"exDestination": "string",
"executorInfo": {
"accountName": "string",
"clOrdId": "string",
"clientCompId": "string",
"clientSubId": "string",
"executorCompId": "string",
"executorSubId": "string",
"ordIds": [
"string"
],
"prevClOrdIds": [
"string"
]
},
"expireTime": "2026-01-02T14:30:00Z",
"id": "string",
"instructions": [
"DNR"
],
"instrument": {
"expiry": "2026-01-02",
"right": "call",
"strike": 0,
"type": "option",
"underlyingInstrument": {
"symbol": "string",
"type": "equity"
}
},
"isManualReviewEnabled": true,
"lastError": "string",
"legs": [
{
"id": "string",
"instrument": {
"expiry": null,
"right": null,
"strike": null,
"type": null,
"underlyingInstrument": null
},
"openClose": "open",
"quantityRatio": 0,
"side": "buy"
}
],
"maxFloor": 0,
"nonce": "string",
"openClose": "open",
"price": 0,
"quantity": 1,
"route": "string",
"side": "buy",
"status": "pending",
"statusWebhook": "string",
"stopPrice": 0,
"tags": {},
"type": "market",
"updates": [
{
"reason": "too-late-to-cancel",
"seq": 0,
"status": "pending",
"text": "string",
"timestamp": "2026-01-02T14:30:00Z",
"updateType": "cancel-rejection"
}
]
}
]
}