Back

Namespace System.Drawing no longer accessible?

Starting from yesterday, when I tried to build and run backtest with my previous coce, the code editor complains that "the type or namespace 'Drawing' doesn't exist in the namespace 'System' (are you missing an assembly reference)?"Previously my code uses System.Drawing.Color. Now this class is not accessible. Is that due to a recent update of QuantConnect/Lean such that System.Drawing is no longer available?

Update Backtest








I also feel like (or highly suspect) that something of QuantConnect has been updated or changed in the past recent days, maybe historical data (not supposed to be changed)? Or maybe default commision model (shouldn't have changed since I have been using InteractiveBrokersBrokerage) or default slippage model?

I ran some backtest today with the code snapshots of some previously saved backtest. Nothing in my code has changed, but the results are very differnt from the saved ones.

0

Hi Guanting! Sounds like you're not using the same version of LEAN. In the left column there's a LEAN Engine button -- this lets you select which version of LEAN you're using. I think the System.Drawing update was v300, we're at 430 on master now.

The default is to select the last tagged version (v173) which is quite old now. We'll probably release another tagged version soon since there have been so many updates.

This system is called a continuous integration environment -- as soon as we release something on Github, its available within 10 minutes on QuantConnect.com.

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.


Thanks for explaining, Jared!
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