get_portfolio
Retrieve aggregated account holdings including totals and per-instrument details. Filter by instrument IDs or copy mirror IDs.
Instructions
Aggregated portfolio: account totals plus one aggregate per instrument.
Account totals are in the account currency (usually USD): accountAvailableCash, accountFrozenCash, accountCurrentPnl, accountTotalUsedMargin, accountBalance, and accountTotalValue (= available cash + used margin + current P&L). Each instrument aggregate carries net units (positive = long, negative = short), average open rate and leverage, margin, exposure, and unrealized return (accountCurrencyReturn) in the account currency. Filters narrow the instrument aggregates only — account totals ignore them. Rate limit: shares a 60 requests/60s pool with get_portfolio_breakdown and get_pnl.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum instrument aggregates returned. | |
| mirror_ids | No | Restrict to these copy-trading mirror ids; 0 = directly held. | |
| instrument_ids | No | Restrict instrument aggregates to these instrument ids. | |
| conversion_mode | No | Conversion source for non-USD assets while their market is closed; the API default is eToroApp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||