get_positions
Retrieve open positions for a trading account, including quantities and unrealized P&L.
Instructions
List open positions with quantities and P&L for an account.
Args: account_number: Specific account to query. Defaults to the stored default account, or the first account on the session.
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 |
|---|---|---|---|
| account_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||