Get portfolio
portfolioList open positions with live prices and unrealized P&L to track your paper trading account's performance.
Instructions
List an account's open positions with live prices and unrealized P&L.
Reads the local account and prices positions with live market data. Use get_balance for cash totals, history for past trades, or stats for performance metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Paper account name; any name without '/', '\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |