SmartQuant Discussion

Strategy Project - Multiple my Strategies Firing
Page 1 of 1

Author:  mikembb [ Thu Jul 20, 2017 11:58 am ]
Post subject:  Strategy Project - Multiple my Strategies Firing

Dear Team,

I just had it happen, that for whatever reason, in my Strategy Project - more then one instance of MyStrategy got initialised and OnStrategyStart() got fired.

This happens randomly, or better, I cannot find the reason for that yet. I only call

I trapped it with a public static bool variable that I set to true on the first OnStrategyStart() and then if it is true, I close the other instances.


Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group