Back

Increasing the debugging/error details

Hi, I was just wondering how I can increase the level of details that is returned upon errors in my algo. I've been struggling for 4 days on one simple bug and cannot find the reason why.... Given that it takes 40-50 seconds to run the algo, time wasting is exponential. 

I feel like QC has an enormous potential and I want to upgrade my plan and use it for all my algos but unless debugging becomes much, MUCH easier, I just don't see it happening..

Anyway, here's the error I get:

Runtime Error: In Scheduled Event 'EveryDay: 9.52', IndexError : index 26 is out of bounds for axis 1 with size 26 IndexError : index 26 is out of bounds for axis 1 with size 26Any help on how I can debug more easily without posting my entire algo on the forum ?Thanks in advance,

Update Backtest







Totally agree with you Stephane.. its a pain and we're working really hard to fix it. We're actually starting the process of redesigning the whole system in C++ to be a native python package which should result in 10x speed up and completely native debugging.

If you can please hang in there with us and I promise we'll continue to be the best platform in the world. LEAN is a few hundred-k lines of code by now so you can imagine how difficult this challenge will be :)

In your event: Scheduled Event 'EveryDay: 9.52 -> you've got an array -> Which is going out of bounds on axis 1. 

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 Jared and thanks for the reply.

Im glad to hear that you guys are working on this. I have no doubt that this must be a VERY long task and I fully support your initiative but I was wondering if you could provide a timeline on that matter,

Again, I really like QC as I think you have a superior product than your competitors (particularly in terms of available data), and I truly believe that if you win, we all win.

 

Thanks again !

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