get_portfolio
List all open positions in your Trading 212 account with ticker, quantity, average and current prices, and unrealized profit/loss.
Instructions
List all open positions in the account.
Returns up to limit positions, each with: ticker (Trading 212
identifier, e.g. "AAPL_US_EQ"), quantity (shares held, fractional
allowed), averagePrice and currentPrice (per share, instrument
currency), ppl (unrealized profit/loss, account currency), fxImpact
(currency-conversion component of ppl, account currency; null when
the instrument trades in the account currency), and initialFillDate
(ISO 8601 timestamp the position was opened).
Rate limit: 1 request per 1 second.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of positions to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |