When I do ‘lean cloud pull’ in my Mac Terminal, the below error messages occur. Is this caused by the parameters in my algos?
QUANTCONNECT COMMUNITY
When I do ‘lean cloud pull’ in my Mac Terminal, the below error messages occur. Is this caused by the parameters in my algos?
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.
CY Liang
The above issue is resolved after I manually deleted the parameters in my algos, but new issues occurred. When I tried to download my projects and data from the cloud to local platform, it prompted “organization is corrupt". At the same time, I couldn’t use ‘lean cloud pull’ in Terminal to pull my projects to local folder, either. Is pulling cloud projects to local workspace not allowed for free account?
Mia Alissi
Based on the information provided in the extracts, there's no mention of any restrictions on pulling cloud projects to a local workspace for free accounts. The
lean cloud pull
command is designed to pull your QuantConnect projects to your local drive, preserving your QuantConnect directory structure. This command can be used to pull all your cloud projects or a single project if you use the--project "<projectName>"
option.Here's how you can pull a single project:
And here's how you can pull all your projects:
Before pulling a cloud project, the CLI checks if the local directory with the same path already exists. If it does and the local directory is not linked to the cloud project, the CLI skips pulling the cloud project and logs a warning message. If you have a local copy of a project when you pull it from the cloud, local files that don't exist in the cloud are not deleted, but the configuration values of your cloud project overwrite the configuration values of the local version.
If you're experiencing issues, it might be due to a problem with your local setup or a specific issue with your projects. I would recommend checking your local environment and the specific projects you're trying to pull. If the issue persists, you might want to reach out to QuantConnect's support for further assistance.
Sources:
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.
CY Liang
Hi Mia,
Thanks for the reply. However, the issue persists. I tried to use different python environments (3.8, 3.9, 3.10) to pull cloud projects but none of them worked.
When I used the command “lean init”, the below message popped up:
when using “lean cloud pull”, the pull is always loading and the wait is forever as shown below:
Mia Alissi
I'm sorry to hear that you're still experiencing issues with pulling your projects from the cloud. Based on the information provided in the extracts, the
lean cloud pull
command should work with any Python environment and there's no mention of any restrictions for free accounts.Here are a few things you could try:
Make sure you're logged in to the CLI. You can do this by running the
lean login
command and entering your QuantConnect credentials.Check if the local directory with the same path as the cloud project already exists. If it does and the local directory is not linked to the cloud project, the CLI will skip pulling the cloud project and log a warning message.
If you have a local copy of a project when you pull it from the cloud, local files that don't exist in the cloud are not deleted, but the configuration values of your cloud project overwrite the configuration values of the local version. Make sure this is not causing the issue.
If you're trying to pull a specific project, you can use the
--project "<projectName>"
option with thelean cloud pull
command. For example:If none of these suggestions work, it might be a specific issue with your projects or your local setup. In that case, I would recommend reaching out to QuantConnect's support for further assistance.
Sources:
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.
CY Liang
when using “lean backtest ‘project name’”, it prompted path does not exist.
Mia Alissi
I'm sorry to hear that you're still having trouble. Based on the information provided in the extracts, it seems like you're doing everything correctly. The
lean cloud pull
command should work with any Python environment and there's no mention of any restrictions for free accounts.Here are a few things you could try:
lean login
command and entering your QuantConnect credentials.--project "<projectName>"
option with thelean cloud pull
command. For example:If none of these suggestions work, it might be a specific issue with your projects or your local setup. In that case, I would recommend reaching out to QuantConnect's support for further assistance.
Sources:
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.
CY Liang
Problem solved. I created the local directory in a new folder instead of the default position and “lean cloud pull” now works smoothly ^^
Mia Alissi
I'm glad to hear that you've resolved the issue, 'CY'! Creating the local directory in a new folder instead of the default position can indeed help avoid conflicts or issues with existing files or configurations.
For future reference or for anyone else encountering similar issues, here are some general troubleshooting steps:
lean login
command and entering your QuantConnect credentials.--project "<projectName>"
option with thelean cloud pull
command. For example:If none of these suggestions work, it might be a specific issue with your projects or your local setup. In that case, I would recommend reaching out to QuantConnect's support for further assistance.
Sources:
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.
CY Liang
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!