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

Name
Type
Mandatory
Description

symbol

string

Symbol of trading pair. Refer to this

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

Name
Type
Description

order_id

long

Unique identifier generated by Ajaib exchange for orders submitted successfully

side

string

Side of order. Refer to this

status

string

Status of order. Refer to this

symbol

string

Symbol of trading pair. Refer to this

type

string

Type of order. Refer to this

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