This thread is just to understand a little more how the strategies are built inside NT and the architecture behind multi instruments scripts.
Please confirm or not what I found. I print some information in my Initialize() sub and every time I turn on NT it prints as expected. Any do my strategies were NOT enable which looks to me that all strategies are compiled and running in one block of script.
That said, if I have 30 strategies or drafts or even pieces of test in my NT installation, it would run all and look for the enable ones at every tick, is that right? How bad is that for my performance in general? Do I have to clean up my drafts?
Also, my multi instrument strategy might change the selected stocks every day. But when I turn on NT it loads the instruments before I clicked "Enable" in my Strategies tab. Then my strategy tries to add the new ones, leaving the instrument list a mess. Is there any way to:
1) Revert the Add command when I disable the strategy or
2) Not to load any instrument before I click "enable" or
3) Avoid Initialize() sub before I click "Enable"
My only way now is removing the strategy and set it up again, what is really a pain.
Thank you!!
Comment