Get open positions
get_open_positionsRetrieve open positions and pending orders across one or more accounts, with filters by symbol and kind, plus per-account counts, floating profit/loss, swap, and currency totals.
Instructions
Open positions and pending orders on one or more accounts, newest first, with per-account counts, floating profit and swap, and totals per currency. Lists at most 300 orders across all accounts; counts and totals always cover everything. Narrow it with symbol (EURUSD also matches EURUSD.sd) and kind (position or pending); omit account_ids to read every account. Only what is open now: for closed trades, win rate or realised profit, use get_trade_history.
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": "get_open_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | position = filled trades, pending = resting limit/stop orders. | any |
| symbol | No | Only this instrument. Matches broker suffixes too, so EURUSD also matches EURUSD.sd and EURUSDm. | |
| account_ids | No | Account ids from list_accounts. Omit to read every account this key can see. |