Back

Generate Report Python Exception: "Image size of 920031459x467 pixels is too large.

When generating a report with QuantConnect Lean the following error is thrown.  Any recommendations would be appreciated.  

109416_1596289478.jpg

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.


Hi Jason,

I was unable to reproduce the error with one of my backtests. Please attach a backtest of the corresponding algorithm to help us identify the problem.

Best,
Shile Wen

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.


Same over here. I am running on Windows and the instructions here: 

https://github.com/QuantConnect/Lean/tree/master/Algorithm.Python#quantconnect-python-algorithm-project

are incomplete as "matplotlib" was missing and I installed the latest version. Maybe that is related.

As a hint: Backtest of SPY from 1998-2020; around 500 trades made

 

0

Yes, thanks!  I installed python, exact version and all, per the instructions including the additional packages.  The instructions were incomplete and matplotlib was required so I installed the latest matplotlib version. 

0

Dear QuantConnect, any help would be aprpeciated.  Running Reports locally still throwing "Image size of 920031459x467 pixels is too large.  

Followed these instructions: Python

Windows x86-64 MSI Python 3.6.8 installer from python.org

  1. Install pandas=0.25.3 and its dependencies.
  2. Install wrapt=1.11.2 module.
  3. Install matplotlib=????    which version please.  

 

0

Hi Jason,

Currently, LEAN supports matplotlib version 3.1.1, so I suggest installing this version.

Best,
Shile Wen

1

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