Bulk limit order
Bulk limit order
The endpoint creates bulk limit trading orders.
- RPI orders do not appear in public order book feeds (
depth,bookTicker). RPI orders are visible only in private active orders and in the exchange UI order book (web/mobile). - RPI orders are post-only by design and cannot be used with the IOC flag. The API returns error code
37when bothrpi=trueandioc=trueare used.
Error Codes
Error Codes
30- default validation error code31- market validation failed32- amount validation failed33- price validation failed36- client_order_id validation failed37-ioc=truecannot be used withpostOnly=trueorrpi=true
Errors
Errors
{
"code": 30,
"message": "Validation failed",
"errors": {
"orders": ["The orders must be an array."]
}
}
Individual order errors (in multiply response):
{
"code": 30,
"message": "Validation failed",
"errors": {
"amount": ["Amount field is required."],
"market": ["Market field is required."],
"price": ["Price field is required."],
"side": ["Side field is required."]
}
}
{
"code": 30,
"message": "Validation failed",
"errors": {
"side": ["Side field should contain only 'buy' or 'sell' values."]
}
}
{
"code": 32,
"message": "Validation failed",
"errors": {
"amount": ["Amount field should be numeric string or number."]
}
}
{
"code": 33,
"message": "Validation failed",
"errors": {
"price": ["Price field should be numeric string or number."]
}
}
POST
Bulk limit order
Authorizations
API Key authentication for private endpoints.
Required headers:
- X-TXC-APIKEY: API key
- X-TXC-PAYLOAD: Base64 encoded JSON payload
- X-TXC-SIGNATURE: HMAC SHA512 signature
Body
application/json
Array of limit orders
Controls how the bulk order processor handles failures.
When true: Processing stops at the first order that fails validation or execution. Only orders up to (but not including) the failed order are processed.
When false (default): All orders in the bulk request are processed regardless of individual failures. Each order result is returned in the response array.
Example:
true
Example:
"{{request}}"
Example:
"{{nonce}}"