Get Open Orders
Retrieve all open orders under exchange client
GET
https://api.ajaib.co.id/coin/internal/v1/order/open
Functionality: Retrieves all open orders belonging to the exchange client's trading account. Open orders can only have the following statuses: NEW
, OPEN
, PARTIAL_FILLED
Authentication: Required
Request Param
from_order_id
long
order_id
to fetch from. Returns the most recent orders by default in descending order. Is inclusive of the starting id.
limit
int
default 100
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