Retrieve order details
Fetches the status and details of a specific order for the given account. Note: Order placement is asynchronous. This endpoint may return HTTP 404 if the order has not yet been indexed for retrieval. In some cases, the order may already be active in the market but momentarily not yet visible through this API due to eventual consistency.
| Name | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | - |
| orderId | string (uuid) | Yes | - |
No request body defined
Creation time of the order
MARKET,LIMIT,STOP,STOP_LIMITBUY,SELLNEW,PARTIALLY_FILLED,CANCELLED,QUEUED_CANCELLED,FILLED,REJECTED,PENDING_REPLACE,PENDING_CANCEL,EXPIRED,REPLACEDQuantity of the order, mutually exclusive with notional value
Notional value (dollar amount) of the order, mutually exclusive with quantity
Present if type = LIMIT
Present if type = STOP
The time the order reached a terminal state, like CANCELLED, FILLED, REJECTED, REPLACED
Present if the order is a single-leg option order
OPEN,CLOSEThe filled quantity of the order, present if the order had at least one trade
The average price per unit, present if the order had at least one trade
If instrument.type = MULTI_LEG_INSTRUMENT, this contains the list of legs
Order not found (may not be processed yet).
No response body defined
{
"orderId": "047ec0e8-d3cf-497a-8382-b646f84f5d77",
"instrument": {
"symbol": "string",
"type": "EQUITY"
},
"createdAt": "2023-11-07T05:31:56Z",
"type": "MARKET",
"side": "BUY",
"status": "NEW",
"quantity": "string",
"notionalValue": "string",
"expiration": {
"timeInForce": "DAY",
"expirationTime": "2023-11-07T05:31:56Z"
},
"limitPrice": "string",
"stopPrice": "string",
"closedAt": "2023-11-07T05:31:56Z",
"openCloseIndicator": "OPEN",
"filledQuantity": "string",
"averagePrice": "string",
"legs": [
{
"instrument": {
"symbol": "string",
"type": "EQUITY"
},
"side": "BUY",
"openCloseIndicator": "OPEN",
"ratioQuantity": 123
}
],
"rejectReason": "string"
}