HI Team
Whats the best way to debug in the QuantConnect Web IDE so that I can see and explore the various object structures?
- VS allows you to grab objects and click down through them as part of debugging. But running Lean backtests from VS seems to be getting more and more difficult due to the data needs and is being depreceated.
- I like the Debugging side menu on the Web IDE but it assumes you know and can fully specify the object path you want to view. I use the object debugging as a way to learn new objects,
- Ive put in lots of consol write commands but it feels very 1980's and furstrating.
Im guessing there is an easy way everyone does this and hopefully I just need to ask?
Thanks in appreciation
Richard
Jared Broad
Hi Richard,
You can debug in Visual Studio if you have the data. We provide a fake data generator to allow you to create a local source for free. This is not being deprecated, on the contrary, we're investing a lot of effort in making it as easy as possible for C# and Python users to harness our docker containers to quickly run backtesting and debugging, and autocomplete locally.
This is an active project (we literally just finished the technology) and are not finished writing the documentation. Please give it a go if you like the bleeding edge or please give us a month to finish the documentation for this for your local development.
Otherwise, the web IDE supports debugging now but you have to write out the objects "Securities["IBM"].Total.." etc.
Best
Jared
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.
Richard Allen
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.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!