Back

Python errors are obtuse

Is there a way to generate more useful error messages that indicate a line number or some way to know what's generating the error? It's really painful to debug things when I have to comment out a line, wait 30-60s for a backtest to run, comment out a different line, rinse/repeat, etc.

Update Backtest








Sorry about the lack of errors Karl. We'll work on improving them ASAP --

We just fixed the slow-backtesting issue -- you should get backtest results within 10 seconds now.

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 the response! Definitely seems faster now. I think a little would go a long way (line numbers). I think once you are super familiar with the syntax and how all the classes work, it's probably not as important, but trying to learn the various nuances of the QC classes with little documentation and non-specific error messages has been a challenge :).

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