Lean icon indicating copy to clipboard operation
Lean copied to clipboard

TT Brokerage Model Doesn't Validate StopLimit Orders

Open DerekMelchin opened this issue 1 month ago • 0 comments

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 master branch
  • [ ] I have confirmed that this is not a duplicate issue by searching issues
  • [ ] I have provided detailed steps to reproduce the issue

DerekMelchin avatar Dec 09 '25 21:12 DerekMelchin