Back

Helping Others Learn From My Pain

Hi guys, 

To others who are suffering through the difficulties of moving from Quantopian to QC, check out the following notebook.

It highlights some important differences in the libraries available in QC's Research vs IDE environments. These particularly affect the History object, but also other objects I show some workarounds I've developed to allow me to backtest my functions in Research withouth having to make too many changes to them once launched in the IDE. 

Pay particular attention to the section where I launch a QuantBook instance, assign it the variables of my "BasicTemplateAlgorithm" instance, and use that to grab needed history items. 

If somebody has a better way of achieving the same without launching a QuantBook instance, I would love to see it. 

Give me some slack on the coding. I've never had a lesson in programming - begin self taught - and have only delved into python in the last 2 years. So I would be shocked to discover any code I write corresponds to the sacred "pythonic" mode.

Update Backtest








Thanks for sharing Serge; Research is in beta so please feel free to suggest new access methods & helpers! 

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