Get Orders
/accounts/{accountId}/ordersReturn all orders for the specified account.
Path Parameters
The account identifier.
Response
Successful response in standard envelope.
Status indicator. ok on success.
Array of orders.
Unique order identifier. Example: 0611857611582734336.
Ticker symbol. Example: AAAU.
Security name. Example: Goldman Sachs Physical Gold ETF.
Asset class. Enum: stock; etf; option; future; crypto.
Order direction. Enum: buy; sell; sellShort; buyToCover.
Order type. Enum: market; limit; stop; stopLimit.
Requested quantity in shares.
Requested notional value (used when quantityType is amount).
How quantity is expressed. Enum: qty — shares; amount — notional value.
Limit price for limit and stopLimit orders.
Stop trigger price for stop and stopLimit orders.
Time-in-force. Enum: Day; GTC.
Extended hours participation. Enum: Regular; Pre; Post; PrePost.
Current order status. Enum: Working; Filled; PartiallyFilled; Cancelled; Rejected; DoneForDay.
true if the order is still open and working.
Number of shares filled so far.
Total notional value filled.
Average execution price.
Unix timestamp (ms) of the last fill. 0 if unfilled.
Unix timestamp (ms) of the last status change.
Exchange identifier.
Contract unit size.
Human-readable status message from the broker.
Message text. Example: Order Doneforday.
Message severity. Enum: information; warning; error.
Response Example
{
"s": "ok",
"d": [
{
"id": "0611857611582734336",
"instrument": "AAAU",
"name": "Goldman Sachs Physical Gold ETF",
"securityType": "etf",
"side": "sell",
"type": "stop",
"qty": 1.0,
"amount": 0.0,
"quantityType": "qty",
"limitPrice": 0.0,
"stopPrice": 48.48,
"durationType": "Day",
"extendHours": "Regular",
"status": "Cancelled",
"isActive": false,
"filledQty": 0.0,
"filledAmount": 0.0,
"avgPrice": 0.0,
"filledTime": 0,
"lastModified": 1770947022829,
"exchange": "169",
"unit": 1,
"message": {
"text": "Order Doneforday",
"type": "information"
}
}
]
}