Steps to reproduce the issue
1. Compile the strategy I attached
2. Add the strategy to the chart and enable it
3. Change source code of the strategy and recompile
4. Disable strategy and enable it again
5. There will be error "strategy no longer exists"
The only solution I know is to restart Ninja. It slows down the development process drastically. I need to restart Ninja each time I change even 1 symbol in my source code
I created a simple strategy to demonstrate the issue. The issue is related to collection class I used (see my CustomStrategyTimeWindowCollection).
I run VS debugger and see the exception throws while strategy creation (see attachment)
Comment