I've been reading up on "Syncing Account Positions" in the NT8 documentation, and would like to understand further on the "Immediately Submit" option. I have the following questions:
1) The documentation states that "Any active orders on the account previously generated by the strategy that does not match* an active strategy order will be cancelled." Is there any way to avoid canceling these active orders on the account? I'm asking because there could be a scenario where I had to disable the strategy to make some NinjaScript modifications. Upon restarting, the active orders already on the account (generated from the previous version of the strategy) may not match any of the newly modified strategy's active orders. Nonetheless I may still want to retain these active orders as they may still be valid / desirable for me.
2) If there is a way to retain these active orders on my account, will NT receive any notifications when their states change? i.e. will OnOrderUpdate be triggered when any of these active orders get filled? I'm asking because these active orders originated from the previous version of the strategy, hence I'm not sure if their state changes will be registered or ignored by the newly modified strategy.
Greatly appreciate any clarifications you can provide, thanks.
Comment