- ago
Hi,
I ran a strategy with 3 symbols and because this is my first strategy i just had it print out the symbol name and bar index.

I was surprised to see it print out all the bars for the first symbol, then all the bars for the second symbol....

Does it call execute for each bar of one symbol, before calling execute on another symbol? I would have expected an event based backtester to call execute for each bar, for each symbol, and then move to the next bar and do it again.

Thanks!
0
102
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
I was surprised to see it print out all the bars for the first symbol, then all the bars for the second symbol....

And now, highlight "WriteToDebugLog" in your code and check what the QuickRef says about it. Your question is explicitly answered there with a note on how to change this behavior.

Also, check out this helpful read: Anatomy of a Wealth-Lab Strategy.
0
Best Answer
- ago
#2
Amazing. TY!
0

Reply

Bookmark

Sort