Hi,
Is there way to debug a backtest in visual studio? I'm using the "Debug" tab in Lab in web. but as a developer I feel more confortable with debugging in Visual Studio. Also I'm getting this error to see the debug logs in web "You currently have a maximum of 10kb of log data per backtest, and 3072kb total max per day"
I just see these 2 options on any Algo file right click,
I could not find any instruction to debug a particular algo backtest in these links
https://www.quantconnect.com/blog/new-to-quantconnect-debugging-now-live-in-the-algo-lab/
https://www.quantconnect.com/docs/key-concepts/developing-in-the-ide#Developing-in-the-IDE-Backtesting-Your-Algorithm
Rahul Chowdhury
Hey Saravana,
Could you please specify what you are trying to accomplish? Do you want to debug an algorithm running on QuantConnect's servers or debug an algorithm running locally?
Debugging backtests running on QuantConnect's servers on Visual Studios is not possible because the data for backtesting lives on QuantConnect's servers.
You could debug on Visual Studios if you are using data locally. This can be done with by either importing custom data or by using one of the data downloaders in the toolbox. But if you want to debug with QuantConnect's data, you are limited to using the debugger on the web IDE.
Best
Rahul
Kbsaravana
Hi Rahul, Thanks a lot for reply. Yes, I want to debug an algo running locally (as I feel visual studio is more user friendly). as per your suggestion I tried Yahoodownloader in toolbox, I can able to download data in this folder. let me try local debugging.
will come if still I face any issues. Thanks again
Kbsaravana
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!