Skip to content

Comments

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

Open
AhmedAli58 wants to merge 1 commit intoQuantConnect:masterfrom
AhmedAli58:fix/ib-combo-4leg-validation
Open

fix(InteractiveBrokers): Reject unsupported 4-leg ComboLegLimit orders (#9287)#9301
AhmedAli58 wants to merge 1 commit intoQuantConnect:masterfrom
AhmedAli58:fix/ib-combo-4leg-validation

Conversation

@AhmedAli58
Copy link

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.

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.

2 participants