Expand description
Account management for Interactive Brokers execution client.
Functions§
- check_
external_ position_ change - Check if a position update represents an external change (e.g., option exercise).
- create_
position_ tracker - Create a new position tracker.
- initialize_
position_ tracking - Initialize position tracking with existing positions.
- subscribe_
account_ summary - Subscribe to account summary and parse to balances and margins.
- subscribe_
pnl - Subscribe to PnL updates for the account.
- subscribe_
positions - Subscribe to real-time position updates for detecting external position changes (e.g., option exercises).
Type Aliases§
- Position
Tracker - Track known positions for detecting external changes (e.g., option exercises).