Good morning, I am new to Lean, I have developed an algo on visual studio on my desktop computer using Lean package. When I am forwarding this for backtesting using the plugin:
I am getting the next error. Can anyone help please and advise what am I doing wrong? Thanks in advance for your help!
Jared Broad
That error means we couldn't create a QCAlgorithm object; likely the file(s) you're sending don't have a QCAlgorithm class or you have 2-of them so we don't know which one to backtest. Please attach the file you're attempting to backtest in a comment here.
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.
Ilshat Garipov
Thank you very much , Jared !
Indeed, I was trying to add my algo to existing project that already includes another extension of QCAlgorithm class. I am realizing now I can just type in the name of brand new project for the code to be added to. I did so, and things worked fine. Thanks a lot for your advise.
Ilshat Garipov
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!