Back

QCU Complete Algorithm Framework Help

Hello Community

I am trying to understand the QCU Strategy Example, specifically how to manage selected assets. There is two things I cant understand.

In the ModuleAsset when you change SPY to anything else or remove it the algorithm does not work anymore, I cant find any connection to it or why that would happens.

Secondly when I update the universe using "public List UpdateUniverse()", the new universe of stocks doesnt get used, instead it always defaults back to the default four.

Would appreciate some help !

Daniel
Update Backtest








SPY is special in that it is used as the default benchmark security. You can choose a different benchmark using the SetBenchmark function. As for the UpdateUniverse function, I'm not sure it's intended to add new securities, but rather filter the list of already added securities to perform further analysis on.
0

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.


Okay thanks
0

Update Backtest





0

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.


Loading...

This discussion is closed