Batch New Orders
Create multiple new orders from a single request
POST
https://api.ajaib.co.id/coin/internal/v1/order/batch
Functionality: Creates a list of new orders belonging to the exchange client's trading account.
This endpoint's purpose is to allow exchange clients to submit a batch of several instructions i.e. create orders towards the exchange at one go.
A successful response returned simply means the exchange has received (order) instructions to act upon. However, it is no guarantee all (order) instructions have been processed successfully.
Authentication: Required
Request Body
Name
Type
Mandatory
Description
orders
Order
List of new orders
Request Body Object > Order
Request Body Sample
{
"symbol": "BTC_USDT",
"orders": [
{
"side": "BUY",
"type": "LIMIT",
"price": 1.99,
"quantity": 95.24
},
{
"side": "BUY",
"type": "LIMIT",
"price": 1.98,
"quantity": 154.24
},
{
"side": "BUY",
"type": "LIMIT",
"price": 1.97,
"quantity": 254.24
}
]
}
Response Body
Name
Type
Description
order_id
long
Unique identifier generated by Ajaib exchange for orders submitted successfully
[
{
"order_id": 123,
"status": "NEW"
},
{
"order_id": 456,
"status": "NEW"
},
{
"order_id": 789,
"status": "NEW"
}
]
Last updated