Extraction of the logs from the attached backtest:
2022-06-30 00:00:00 : 2022-06-30 00:00:00 | 98 | {'test': 'test'}
2022-07-01 00:00:00 : 2022-07-01 00:00:00 | 99 | {'test': 'test'}
2022-07-02 00:00:00 : 2022-07-02 00:00:00 | 100 | {'test': 'test'}
2022-07-06 00:00:00 : 2022-07-06 00:00:00 Failed 5 times
2022-07-07 00:00:00 : 2022-07-07 00:00:00 Failed 5 times
2022-07-08 00:00:00 : 2022-07-08 00:00:00 Failed 5 times
The algorithm is only able to download the same file 100 times. After that, self.Download() returns an empty string. Why is that, and is there a way to increase that limit? More importantly, will I encounter the same issue in paper/live trading? I am continuously changing the file so I need to be able to download it an unlimited amount of times. The problem is definitely on QC's end and not Dropbox as I have no issues downloading it endless times from a custom script.
Haakon
Does anyone know if it applies to live or paper trading?
Louis Szeto
Hi HaakonÂ
We do not impose a rate limit on file downloads but often external providers do. Dropbox caps download speeds to 10 kb/s after 3-4 download requests. To ensure your algorithms run fast, only use a small number of small custom data files.
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.
Haakon
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!