Back

QC in visual studio, missing property on QCAlgorithm

I'm trying to get QC going in visual studio to help with debugging/autocomplete/all that.

Following this tutorial the below, I didn't have a great feel for how to set up a project, but I went ahead and pulled in the Nuget package QuantConnect.Algorithm.Framework (which cleared up most of my reference errors).

https://www.quantconnect.com/tutorials/open-source/backtesting-from-visual-studio

Severity    Code    Description    Project    File    Line    Suppression State
Error    CS1061    '' does not contain a definition for 'EnableAutomaticIndicatorWarmUp' and no accessible extension method 'EnableAutomaticIndicatorWarmUp' accepting a first argument of type '' could be found (are you missing a using directive or an assembly reference?)   

It appears that the class QCAlgorithm has the property (I'm inheriting from it and successfully picking everyting else up).

https://github.com/QuantConnect/Lean/blob/5e0ba87f1a00cb379f3a89ca778808dd993ecbc9/Algorithm/QCAlgorithm.Indicators.cs

What am I missing? Is there an updated nuget package? Am I missing a separate package?

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.


Hey there, the framework is shipped as a separate DLL but you'll need all of the DLLs to make a working project. Can you please share your project file?

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.


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