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!
    
    
    
    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!
        Rename
    
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.
        Amazing. TY!
    
    
            Your Response
            
            Post
        
        
        
    
            Edit Post
            
        
        
        
    
            Login is required