Thanks for adding ```failed-data-requests``` and ```succeeded-data-requests``` files to lean cli backtests, much helpful!
I am building a strat that using ```CoarseSelectionFunction``` and executing in minute data.
I have noticed in the ```failed-data-requests``` file that whenever a ticker is once added to the Universe then LEAN is trying to access its minute data even though it is not actually in the current trading day (i.e. removed for today).
I am downloading only the necessary minute data selected by the previous day DollarVolume so I don't have all of the tickers minute data.
Why is that happening?
Louis Szeto
Hi Super Richman
You'll also need the coarse universe data downloaded for that functionality. Either use the cli data downloader helper to download in advance, or download the needed data alongside with the backtest.
Best
Louis
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.
Super Richman
Thanks Louis. Coarse folder is in place as well as custom mapping and factor files according to the tickmap specification. the algo purpose is just to test which data is accessed since I am only downloading the relevant minute data.
Louis Szeto
Hi Superrich Man
Sorry for the delay. Could you please also tell us which files you have in your local data directory? It will help a lot on the debugging since we cannot reproduce your problem.
Best
Louis
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.
Super Richman
Hi Louis,
Thanks for replying! Delay is always good, I hope you were on vacation or did something fun ;)
I am adding some files that will help you understand, I hope it will be good for you.
succeeded-data-requests-20230118140038721.txt
failed-data-requests-20230118140038722.txt
data-monitor-report-20230118140045884.json
Partial Log:
As deducted from log, for 5.1 PG is not needed, and yet we have a failed data request for minute data for PG
I have all the files needed per day of Coarse by DollarVolume - so the coarse slected top 10 minute data will be downloaded for tomorrow.
All of the “needed” data is in place, the failed requests are for days that are not in the coarse and should not actually be requested.
To reproduce:
Feel free to correct me if I am wrong :P What do you think?
Louis Szeto
Hi Super Richman
Do you have the “failed requests” files in position? Maybe you'll also need `lean data download … --overwrite` if some existing/random generated files are there.
Best
Louis
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.
Super Richman
Hi again Louis, I deliberately do not have the unneeded files since they are not required for the strategy.
Louis Szeto
Hi Super Richman
I mean you have the needed files, but are they holding the data required? Like `equity/usa/daily/spy.csv`, it might only hold a period of data which is insufficient for your backtest. You'll need the --overwrite option to download and replace this outdated file.
Best
Louis
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.
Super Richman
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!