Hello Community! Do you need SPY daily/hourly data locally if you want to debug LOCALLY? Because Im trying to run a basic SPY algorithm from the Bootcamp (the SPY´s data is already installed with CLI Lean ) and didnt let me … I suppose if is something relating perhaps to FOREX or others you need indeed download data and I need to pay, isn't ?, Thank you and have a great week🚀
Jasper van Merle
Hi Pau,
From your post I'm not entirely sure whether you mean you can't debug or you can't run your algorithm, so I'll try to answer for both.
You don't need any data to debug locally, although if you place a breakpoint in OnData and your algorithm doesn't have any data to process the breakpoint obviously won't be hit. Can you try placing a breakpoint in the Initialize method and check if that one gets hit? Initialize() is guaranteed to be run, even if OnData is never called.
If you have problems running a backtest in the first place I'll need some more information as to what's going wrong. Can you share the algorithm (considering it's from boot camp), and what the exact problem is (like: is the algorithm not placing any expected trades, does the CLI show an error, etc.)?
PauPadilla Greendry
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!