Get order
Returns the latest broker state for one order in the caller’s organization.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Internal order id to fetch
Response
Order retrieved
unspecified, lightspeed, alpaca UNSPECIFIED, BUY, SELL, SELL_SHORT Unspecified, Open, Closed, Rejected UNSPECIFIED, PENDING_NEW, NEW, PARTIALLY_FILLED, FILLED, PENDING_CANCEL, CANCELLED, PENDING_REPLACE, REPLACED, STOPPED, REJECTED UNSPECIFIED, LIMIT, MARKET, FILL_OR_KILL, LIMIT_ON_OPEN, LIMIT_ON_CLOSE, MARKET_ON_OPEN, MARKET_ON_CLOSE, STOP, STOP_LIMIT, TRAILING_STOP UNSPECIFIED, SMART, AMEX, ARCA, BATS, BATY, EDGA, EDGX, NSDQ, NYSE UNSPECIFIED, DAY, IMMEDIATE_OR_CANCEL, GOOD_TILL_CANCEL, AT_OPEN, AT_CLOSE, FILL_OR_KILL, EXT The caller's own correlation id for this order, if it set one.
intent_id is minted by the platform and only reaches the caller on the
response, so it cannot identify an order the caller has sent but not yet
heard back about. This can: it is set before the request goes out and
carried across every replace and cancel under the intent, which makes an
order on an account-wide stream attributable to whoever placed it rather
than to whoever happens to be listening.
serde(default) because the snapshot table stores this struct as a
JSONB payload: rows written before the field existed carry no key for
it, and without a default every one of them fails to deserialize.