get_order
Retrieve a single order from OANDA by ID or client-assigned ID to view its current state, instrument, units, price, and timestamps.
Instructions
Get a single order by ID or client-assigned ID.
Returns {"order": {...}, "lastTransactionID": "..."} with the same
fields as list_orders entries: id, type, instrument,
units (signed decimal string), price (decimal string),
state (PENDING, FILLED, TRIGGERED, CANCELLED),
timeInForce, RFC3339 timestamps, and fill/cancel bookkeeping such
as tradeOpenedID or cancellingTransactionID when present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_specifier | Yes | Order identifier: the Oanda-assigned order ID (e.g. '6372') or a client-assigned ID prefixed with '@' (e.g. '@my_order_1'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||