How to know when a strategy run has finished?
Author: Supersol
Creation Date: 4/14/2016 9:49 AM
profile picture

Supersol

#1
Hello,

How can I track via code that a strategy run has finised? As the code is called for each symbol, there is no global instance telling me the strategy is ready, right?

thx
matthias
profile picture

Supersol

#2
there is only a workaround known yet to count the symbols in our DB..
profile picture

Supersol

#3
but no code-snipped within wealth-lab script
profile picture

Supersol

#4
DataSetSymbols[DataSetSymbols.Count - 1] resolved..
profile picture

Eugene

#5
Nice monologue, glad that you've resolved it yourself ;)

Just to add that the opposite task is resolved with DataSetSymbols[0] as per this KB article.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).