list_open_trades
Fetch all open positions on your OANDA account with trade details: instrument, entry price, units, unrealized P/L, and attached orders.
Instructions
List every open trade on the configured account.
Returns {"trades": [...], "lastTransactionID": "..."} with the
same trade shape as list_trades: id, instrument, price
(entry fill, decimal string), openTime (RFC3339),
currentUnits (decimal string; positive = long, negative = short),
unrealizedPL and marginUsed (decimal strings in the home
currency), and any attached takeProfitOrder, stopLossOrder,
or trailingStopLossOrder.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_open_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of trades to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||