New Order
Creates a new order under exchange client
POST
https://api.ajaib.co.id/coin/internal/v1/order
Functionality: Creates a new (spot trading) order belonging to the exchange client's trading account.
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
price
decimal
Price of order. Mandatory for order type LIMIT
& LIMIT MAKER
quantity
decimal
Quantity of order. Mandatory for order type LIMIT
& LIMIT MAKER
Request Body Sample
{
"side": "BUY",
"symbol": "BTC_USDT",
"type": "LIMIT",
"price": 27074.16,
"quantity": 0.0001
}
Response Body
Name
Type
Description
order_id
long
Unique identifier generated by Ajaib exchange for orders submitted successfully
{
"order_id": 12345678,
"status": "NEW"
}
Last updated