list_account_instruments
List tradeable instruments on your OANDA account, including currency pairs, CFDs, and metals. Get precision details like pip location and display precision to set order prices and sizes.
Instructions
List instruments tradeable on the configured account.
Returns {"instruments": [...]} where each entry has name
(e.g. EUR_USD), type (CURRENCY, CFD, or METAL),
displayName, pipLocation (power-of-ten exponent of one pip:
-4 means a pip is 0.0001), displayPrecision (the number of
decimal places order prices must be formatted to — use it for the
price of LIMIT/STOP orders or the API rejects them with a
PRICE_PRECISION error), tradeUnitsPrecision (decimal places
allowed in order units), minimumTradeSize (decimal string),
marginRate (decimal string; the margin required per unit, e.g.
"0.05" = 20:1 leverage), and maximumOrderUnits (decimal
string).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of instruments to return. | |
| instruments | No | Optional instrument names to look up, e.g. ['EUR_USD', 'DE30_EUR']. Omit to list every tradeable instrument on the account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||