Skip to content

Orders on this account, newest first

GET
/v1/accounts/{id}/orders
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/orders" \
-H "Authorization: Bearer $IDEALX_API_KEY"

Without filters: the latest 100. With any of status, from, to, assetClass, q, portfolioId, limit or offset: filtered and paged on the server (up to 5,000 matching), with total.

id
required
string
status

Open (still working), done (ended), or order states comma-separated (filled,cancelled…)

string
<= 200 characters

Open (still working), done (ended), or order states comma-separated (filled,cancelled…)

from

Placed on or after this day (UTC)

string
/^\d{4}-\d{2}-\d{2}$/

Placed on or after this day (UTC)

to

Placed on or before this day (UTC)

string
/^\d{4}-\d{2}-\d{2}$/

Placed on or before this day (UTC)

assetClass
string
Allowed values: equity etf bond crypto
q

Name or symbol

string
<= 60 characters

Name or symbol

portfolioId
string
<= 80 characters
limit
integer
>= 1 <= 200
offset
integer | null

OK

Media typeapplication/json
object
orders
required
Array<object>
object
id
required
string
portfolioId
required
string
instrumentId
required
string
side
required
string
Allowed values: buy sell
type
required
string
Allowed values: market limit
quantity
required
string
limitPrice
required
string | null
state
required
string
filledQuantity
required
string
filledValue
required
object
amount
required
string
currency
required
string
setAside
required

Still set aside: cash for buys, units for sells

string
approvalsRequired
required
number
approvals
required
number
approvedByMe
required
boolean
rejectReason
required
string | null
reason
required

Why the firm placed it under its discretionary mandate

string | null
createdAt
required
string
total
required

How many match, across all pages

number

Example

{
"orders": [
{
"side": "buy",
"type": "market",
"filledValue": {
"amount": "1250.00",
"currency": "AUD"
}
}
]
}