Determining the First and Last symbol during a Multi-Symbol Backtest
Author: ss161
Creation Date: 3/10/2009 11:35 AM
profile picture

ss161

#1
I may have just answered my own question, but is there a recommended way to determine the first and last symbol while running a multi-symbol backtest?

I think this may work:

CODE:
Please log in to see this code.


and

CODE:
Please log in to see this code.

profile picture

Eugene

#2
profile picture

ss161

#3
i just reviewed the WealthLab wiki page. why is the SetGlobal and GetGlobal needed instead of just referring to Bars.Symbol? Thanks.
profile picture

Eugene

#4
Well, you're right. Thanks for pointing this out. This is a case when there's more than one way to skin a cat, and your way strips the complexity out of it.
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).