I have some questions regarding my local Lean research. I originally attempted a local Lean installation using Visual Studio but for various reasons it was never a successful setup. Only after clearing everything out and installing Lean CLI/Docker did things improve. At this point I have a working research UI but it lacks data.
- How can I download data directly from IB using the CLI? When I was using the VS setup I could at least get to the point where the toolbox would communicate with IB but failed to download equities due to a known issue at the time. How do I do this through Lean CLI? It seems based on tutorials that the only way to download data is to purchase through QC.
- Related to #1, what is the config file I should be updating in my local Lean directory where I can place my login credentials for IB (similar to /Lean/ToolBox/bin/Debug(or Release)/config.json for the VS setup as described in this post)?
- Are both lean/research docker images required, or can I run both research and other lean utilities using only the lean docker image? When I set up lean CLI the first time and ran ‘lean research “My Project”’, it automatically installed the quantconnect/research docker image for me. However when I generated data, it downloaded a different image: quantconnect/lean. Now I have two very large images taking up space on my HDD and I'm wondering if there's really anything unique between the two.
Jasper van Merle
Hi Jake,
One by one:
Jake Mitchell
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!