Can someone please advise what event fires when I stop a strategy? For instance, if I Disable a running strategy or close the chart, what event gets fired?
I want to add code to close any open positions and cancel any working orders should the strategy be stopped, but I am not sure where to place this code.
Thank you.
Isaac
Comment