Get Position by Contract ID
get_position_by_conidRetrieve a specific position from an Interactive Brokers account by its contract ID (conid) to obtain quantity, average cost, market value, unrealized P&L, and daily P&L.
Instructions
Get a specific position by contract ID (conid). Returns position details including quantity, avg cost, market value, unrealized P&L, and daily P&L.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conid | Yes | Contract ID of the security | |
| accountId | No | Account ID. Uses default account if omitted. |