In the OnOrderUpdate method I create both an ExitLongLimit and an ExitLongStopMarket (Let's just talk about long positions for the sake of simplicity.)
Then I resubmit those with each OnBarUpdate to keep them alive during the life of the position.
This is sort of working, but I keep running into various issues and I'd just like to make sure I'm following the recommended pattern.
Comment