kazuna8
 ( 63.94% )
- ago
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?
0
516
3 Replies

Reply

Bookmark

Sort
- ago
#1
What are you trying to accomplish?
0
kazuna8
 ( 63.94% )
- ago
#2
I would like to change the parameters to AddParameter() based on the symbol.
0
- ago
#3
I'm afraid the list of symbols isn't available to the constructor because the backtester must obtain the compiled strategy instance first.
0

Reply

Bookmark

Sort