List Positions
list_positionsRetrieves open positions for a paper-trading account, including quantity, average cost, and profit and loss.
Instructions
List open positions for an account with quantity, average cost, and P&L.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>"
},
"name": "list_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | UUID of the account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |