Initialize() method has BarHistory so you can access BarHistory.Symbol.
Is there a way for the constructor to know which symbol it's running on?
Is there a way for the constructor to know which symbol it's running on?
Rename
What are you trying to accomplish?
I would like to change the parameters to AddParameter() based on the symbol.
I'm afraid the list of symbols isn't available to the constructor because the backtester must obtain the compiled strategy instance first.
Your Response
Post
Edit Post
Login is required