Following the standard pattern for a classic strategy but getting a Runtime Error: Please register to receive data for symbol 'AAP SA48O8J43YAT' using the AddSecurity() function. in Indicators.cs:line 2187.
My understanding is the Universe selection process handles this in the background, and does the AddSecurity for those Securities that make it through the coarse and fine filters (assuming the are no already in the universe), so no idea what's happening here. I have logging to try and identify the point at which the issue occurs but that's not clear either.
Simon David
Simon David
Added the code as I'm unable to attach the backtest (because of the Runtime error? Hopefully that's not the case).
Would appreciate some insight from the moderaters or someone experience enough to solve this issue. I've been trying to implement a strategy that uses coarse/fine filter universe selection an then applies customer indicator calculations to further rank the securities selection under both classic and algorithmic framework style strategies, using the SymbolData pattern and it keeps throwing issues no matter what I try. (And I've tried a lot of different approaches - mainly shifting responsibilities around amongst where the event methods are called in the algorithm engine sequence).
Simon David
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!