pnl_position
Retrieve real-time profit and loss for a specific Interactive Brokers position using its contract ID (conId), with optional account and model code filters.
Instructions
Get real-time PnL for a specific position by conId.
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": {
"conId": "<conId>"
},
"name": "pnl_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conId | Yes | Contract ID | |
| account | No | Account ID | |
| modelCode | No | Model code for FA |