Skip to main content

Module account

Module account 

Source
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§

PositionTracker
Track known positions for detecting external changes (e.g., option exercises).