Get a single order by ID
https://trading-gateway-api.prod.thinkalpha.io/orders/{id}- Authentication
- Bearer token or Client credentials (HTTP Basic)
Path parameters
- id string required
Order ID
Responses
The full order representation returned by the REST API when querying an order.
- account string
The order's account, as its UUID rendered to a string. Named `account` rather than `accountId` for continuity with the TypeScript API, which emitted `account: order.accountId?.toString()` and so omits it for a legacy order stored without an account.
- attributes object
- batchId string<uuid>
- createdAt string<date-time> required
- creatorId string<uuid>
- duration OrderDuration required
Always present: the domain order carries a non-optional duration and both this API and the TypeScript one it replaced emit it unconditionally.
one of "gtc", "day", "gtx", "gtd", "opg", "ioc", "atc", "fok" - exDestination string
- ExecutorInfo required
FIX session identifiers attached to a routed order, as exposed to API clients.
- expireTime string<date-time>
- id string required
- instructions ExecutionInstructions
The execution instruction flags on an order.
- Instrument required
A discriminated union of instrument types.
- isManualReviewEnabled boolean
- lastError string
- OrderLeg[]min items 1max items 100
- maxFloor number<double>>= 0
- nonce string
- openClose OpenClose
Open or close indicator for an order or leg.
- price number<double>
- quantity integer<int64>
An order quantity in shares: a whole number of at least one.
>= 1 - route string
- side OrderSide required
Side of an order.
one of "buy", "sell", "sell-short", "sell-split", "closeout", "multi-leg" - status OrderStatus required
Status of an order through its lifecycle.
one of "pending", "created", "updated", "submitted", "rejected", "accepted", "filled", "partially-filled", "canceled", "expired", "cancel-pending", "kill-pending", "update-pending", "suspended" - statusWebhook string
- stopPrice number<double>
- tags object
- type OrderType required
Type of an order.
one of "market", "limit", "stop", "stop_limit", "pegged", "box_limit", "box_market" - OrderUpdate[] required