Skip to content

fix(InteractiveBrokers): Reject unsupported 4-leg ComboLegLimit orders (#9287)#9301

Merged
Martin-Molinero merged 2 commits intoQuantConnect:masterfrom
AhmedAli58:fix/ib-combo-4leg-validation
Feb 24, 2026
Merged

fix(InteractiveBrokers): Reject unsupported 4-leg ComboLegLimit orders (#9287)#9301
Martin-Molinero merged 2 commits intoQuantConnect:masterfrom
AhmedAli58:fix/ib-combo-4leg-validation

Conversation

@AhmedAli58
Copy link
Contributor

@AhmedAli58 AhmedAli58 commented Feb 20, 2026

This pull request fixes issue #9287 by adding validation logic in InteractiveBrokersBrokerageModel to reject unsupported 4-leg ComboLegLimit orders before they are submitted to the InteractiveBrokers API, preventing invalid order submissions. It also introduces a clear user-facing rejection message and adds focused regression tests that verify both allowed and rejected scenarios for combo orders. This change improves order handling correctness for the InteractiveBrokers integration and includes unit tests to ensure future behavior remains correct.

Closes #9287

Copy link
Member

@Martin-Molinero Martin-Molinero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @AhmedAli58!

@Martin-Molinero Martin-Molinero merged commit 36453d8 into QuantConnect:master Feb 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interactive Brokers Combo Leg Limit Order

3 participants