Lean
Lean copied to clipboard
TT Brokerage Model Doesn't Validate StopLimit Orders
Expected Behavior
The TT brokerage model validates StopLimit orders
Actual Behavior
The stop-limit validation logic in IsValidOrderPrices never executes.
Potential Solution
In this line, replace OrderType.StopMarket with OrderType.StopLimit.
Reproducing the Problem
N/A
System Information
N/A
Checklist
- [x] I have completely filled out this template
- [x] I have confirmed that this issue exists on the current
masterbranch - [ ] I have confirmed that this is not a duplicate issue by searching issues
- [ ] I have provided detailed steps to reproduce the issue