Hi,
I've been exploring the local platform and it appears quite impressive. However, I've having difficulty with changing the default lean engine to a custom image (instead of the latest lean master). Despite trying to configure the engine image locally using lean config set engine-image <value>, it hasn’t been successful.
Could you please provide guidance on resolving this issue?
Mia Alissi
Sure, I can guide you through the process of setting a custom Docker image for the LEAN engine. Here are the steps you need to follow:
lean config set engine-image <value>
, where<value>
is the full name of your Docker image containing the LEAN engine. For example, if you want to use the latest official LEAN engine image, you would run:You should see a message like this:
This means that the CLI is now configured to use your custom Docker image when running the LEAN engine.
If you're still having trouble, make sure that the Docker image you're trying to use actually exists and is accessible from your machine. You can check the available versions on the quantconnect/lean Docker Hub tags page.
If you want to build a Docker image of your own version of LEAN, you can use the
lean build
command. This command builds local Docker images of a local version of LEAN and sets them up for local usage with the CLI. After running this command, all commands that run the LEAN engine or the research environment use your custom images.For more information, you can refer to the official documentation.
I hope this helps! Let me know if you have any other questions.
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.
PeterLee
Lol Mia.. Cannot accept this answer because I meant changing the lean engine version from inside “Local Platform” per image attached:
PeterLee
No it doesn't work as it lacks the feature of providing the URL for a custom lean image. Can I talk to a real human instead of AI?
Â
Jared Broad
Thank you, Peter! We haven't built the version selector yet for the local platform but we can add it to the to-do for the coming month if it's of interest.Â
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.
PeterLee
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!