Lean.Brokerages.InteractiveBrokers icon indicating copy to clipboard operation
Lean.Brokerages.InteractiveBrokers copied to clipboard

Handle Brokerage Side Liquidation

Open AlexCatarino opened this issue 7 months ago • 1 comments

After this message:

Brokerage Warning: URGENT: Please note that the qualifying equity within your account (i.e., Equity with Loan Value) is insufficient to satisfy the margin requirement and, to restore margin compliance, liquidation of positions may commence without further notice. Account: DU_______

IB started to liquidate positions. E.g.:

2025-04-04T18:05:45.3797768Z TRACE:: InteractiveBrokersBrokerage.HandleExecutionDetails(): Liquidation: 1 ClientId 0 RequestId: -1, Symbol: IONQ, OrderId: -1, Time: 20250404 14:05:45 US/Eastern, Side: SLD, Shares: 500, Price: 20.98, CumQty: 500, PermId: 17437899455, Account: DU_______, ExecId: 00025b45.67f26a75.01.01
2025-04-04T18:05:45.4204702Z TRACE:: InteractiveBrokersBrokerage.HandleExecutionDetails(): Liquidation: 1 ClientId 0 RequestId: -1, Symbol: IONQ, OrderId: -1, Time: 20250404 14:05:45 US/Eastern, Side: SLD, Shares: 500, Price: 20.98, CumQty: 1000, PermId: 17437899455, Account: DU_______, ExecId: 00025b45.67f26a76.01.01

Leading to a portfolio divergence.

AlexCatarino avatar Apr 21 '25 17:04 AlexCatarino