list_positions
Retrieve open positions with unrealized P&L for stock or futures accounts, in lots or shares; use each position ID to view detailed position data.
Instructions
Open positions with unrealized PnL. unit applies to stocks: Common = lots, Share = shares. Each row's id can be passed to list_position_detail.
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": "list_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Common | |
| account_type | No | stock |