Hi all,
I'm testing a strategy that requires a 2nd data series so I use the command GetExternalSymbol. If I use SPY it works fine:
Bars spy = GetExternalSymbol("SPY",true)
But if I replace SPY with other symbols (for example "QQQ") the following error message appears:
Invalid Benchmark Buy and Hold Symbol: QQQ
Where am I wrong?
Thanks
Size:
Color:
According to the
Open Issues list, it looks like some symbol (QQQ?) is null i.e. does not have data:
(182123) Invalid Benchmark Buy and Hold message for DataSetSymbols
When using SetConext in a DataSetSymbols loop, the dialog "Invalid Benchmark Buy and Hold Symbol:" is displayed when encountering a symbol with a null Bars object. This occurs even if Benchmark Buy & Hold is not enabled.If on demand data update is disabled, try updating the DataSet and eliminate all of them with 0 bars.
Size:
Color:
Thank you Eugene. It works now.
Size:
Color: