Get Positions
get_positionsRetrieve all open positions for an IBKR account, including stocks, options, futures, and more. Shows symbol, quantity, cost, market value, and P&L, auto-paginating through all results.
Instructions
Get all open positions for an account. Auto-paginates through all pages. Returns stocks, options, futures, etc. Each position includes: symbol, quantity, avg cost, market value, unrealized P&L, daily P&L. Option positions also include: strike, right (C/P), expiry, multiplier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account ID. Uses default account if omitted. |