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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account ID. Uses default account if omitted. |