hi,
I use self.history to get 1-min data of 2 years period and make some caculation in research notbook. After tens of Iteration for different equities, kernel will die. If i just get historical data without calculation, kernel will die too or get Exception as follows:
Exception: QuantBook.Main(): System.InvalidOperationException: Failed to retrieve cloud data permissions for user 90365 and organization 4767e9f8438992b6f5dea8ee869cc457
at QuantConnect.Cloud.Server.CloudDataPermissionManager.Initialize(AlgorithmNodePacket job) in /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/LeanCloud/Cloud.LeanManagement/CloudDataPermissionManager.cs:line 38
at QuantConnect.Research.QuantBook..ctor() in /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/Research/QuantBook.cs:line 129
at QuantConnect.Research.QuantBook..ctor() in /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/Research/QuantBook.cs:line 195
Is there any limitation to access data?
Varad Kabade
Hi David,
When we make a big history request, it takes some time to fetch the data and create pandas data frames, and the kernel may timeout for inactivity during the process or run out of RAM. Because of that, we need to make smaller requests. Another option is to use Lean-CLI {https://www.lean.io/docs/lean-cli} and run the notebook on your local environment.
Best,
Varad Kabade
David
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!