ib_portfolio
Retrieve current portfolio positions from Interactive Brokers, including stocks and options with market prices. Requires TWS or IB Gateway running locally.
Instructions
Get portfolio positions from Interactive Brokers.
Returns all positions including stocks and options with market prices. Requires TWS or IB Gateway running locally.
Args: port: IB port (7496 for live, 7497 for paper) account: Specific account ID (optional, uses first if not specified)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| account | No |