Get Order
Retrieve an order under exchange client
GET
https://api.ajaib.co.id/coin/internal/v1/order
Functionality: Retrieves a single order, based on input search parameters, belonging to the exchange client's trading account
Authentication: Required
Request Param
order_id
long
The order id
Response Body
order_id
long
Unique identifier generated by Ajaib exchange for orders submitted successfully
price
decimal
Price of order
quantity
decimal
Quantity of order
avg_price
decimal
Average matched or executed price of trades under order. Returns 0 if no trade or match
executed_quantity
decimal
Total order quantity already matched or executed. Value is always less than or equal to quantity
created_at
long
Timestamp when order is generated. Using UTC timezone in unix epoch
updated_at
long
Timestamp when order is updated. Using UTC timezone in unix epoch
{
"order_id": 123,
"side": "BUY",
"status": "OPEN",
"symbol": "BTC_USDT",
"type": "LIMIT",
"price": 27074.16,
"quantity": 0.0001,
"avg_price": 27074.16
"executed_quantity": 0.0001,
"created_at": 1722844008183,
"updated_at": 1722844008183
}
Last updated