I can't add securities. I get the following error:

Runtime Error: System.Exception: Please register to receive data for symbol ' ' using the AddSecurity() function.

Even though I did. (or at least I think)

AddSecurity(SecurityType.Forex,"EURUSD", Resolution.Hour);

 

Author