Portfolio
get_portfolioList an account's positions with market price, value, and unrealized/realized P&L. Uses IBKR valuation without a market-data subscription; data refreshes every three minutes.
Instructions
List an account's positions with market price, market value and unrealized/realized P&L.
Values are in each position's currency and use IBKR's own valuation (no market-data subscription needed); IBKR refreshes them about every 3 minutes. For an account other than the default the call takes a moment longer, because IBKR streams portfolio data for one account at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | IBKR account id, e.g. DU1234567. Omit to use the default account; list_accounts shows which accounts are allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | When this server read the values (UTC). | |
| items | Yes | ||
| account | Yes |