When I run my program using lean cli on cmd, my program runs successfully but there is an issue for configuration key not found I've gone through the videos but did not find any help from the videos, so I am reaching out to the community what to do for this issue.
I am using python as my coding language.
I am new for this platform.
Mia Alissi
The "Configuration key not found" message is not necessarily an error. It simply means that a certain configuration key was not found in the
config.json
file, and the system is using a default value instead. This is a common message when running LEAN locally and it doesn't necessarily indicate a problem.However, if you want to specify a value for the configuration key that's not found, you can do so by adding it to your
config.json
file. The key should be the name of the configuration setting, and the value should be what you want to set it to.For example, if you're seeing a message like this:
You can add the following to your
config.json
file to specify a value fordata-directory
:Replace
"path/to/your/data"
with the actual path to your data.If you're still having issues, please provide more details about the specific configuration keys that are not being found. Also, make sure that your
config.json
file is correctly formatted and located in the right place.For more information on how to set up and run LEAN locally, you can refer to the Getting Started guide and the LEAN Configuration guide in the QuantConnect documentation.
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.
Khushbu Shah
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!