I don't want either to be cancelled. I want to be able to stop a strategy that's in a position and restart at some stage without it cancelling existing orders or positions.
I was able to reproduce this on the attached strategy which I found on these forums;
1. Enable strategy from chart with StartBehavior.ImmediatelySubmit
2. Market order is filled with stop exit order.
3. Uncheck enabled in the strategies tab of control center
4. Recheck enabled in the strategies tab of control center
This results in the previous position's stop order being cancelled, but the position left open. And then a second position and its stop order is submitted.
How can I stop this from happening?
Comment