ibkr_bridge/ Python microservice that polls a PostgreSQL order queue and fires Market Orders via ib_insync — with retry logic, fill tracking, and account state snapshots bot/trading_bridge.py Main ...
Cancels the TP order and waits for confirmation. Cancels the SL order and waits for confirmation. Places a 2% Trailing Stop — IBKR then manages it automatically.