can you tell me pls what is the best/most secure procedure to manually stop running NinjaScript strategy with open positions?
Most common situation for me is two or more running strategies with open positions and I need to stop one and be 100 % sure that all running/pending/OCO/ATM orders/positions are canceled/closed/flat for this one strategy while others will continue.
From help seems to be enough to disable strategy first, then cancel orders in Control Center in tab Orders if any, and check/close positions in tab Positions if any related to closed strategy. Is this correct? What about any ATMs/OCOs etc.? Command Flatten Everything is not good option as it disables all NinjaScript strategies, right?
For more easy way to cancel related orders automatically I have checked both 'Cancel entry orders when a strategy is disabled' and 'Cancel exit orders when a strategy is disabled' options in Settings, Strategies, NinjaScript.
Thanks.
Comment