Hi all,
I would like to create a custom universe which counts the number of stocks with a certain correlation to the S&P 500. When I try the following rule…
UnivCnt(“Correl(1,62,GetSeries(”$SP500"))>0.3")
… I get this error message in return when creating the chart:
Aborted! ERROR: In Rule 1: Error near ‘$SP500"’: Invalid command ‘$SP500"’
It somehow looks as if the syntax of the double quotes is not understood correctly.
Any advice is appreciated