Is anyone else currently having issues when trying to deploy backtests? My live trading node is working fine but my back tests seem to not be deploying. The backtests are Requesting for well over 2 minutes and never begin launching.
Don't have an account? Join QuantConnect Today
QuantConnect Community Discussions
QUANTCONNECT COMMUNITY
LEAN is the open-source algorithmic trading engine powering QuantConnect. Founded in 2012 LEAN has been built by a global community of 180+ engineers and powers more than 300+ hedge funds today.
Join QuantConnect's Discord server for real-time support, where a vibrant community of traders and developers awaits to help you with any of your QuantConnect needs.
The Open-Quant League is a quarterly competition between universities and investment clubs for the best-performing strategy. The previous quarter's code is open-sourced, and competitors must adapt to survive.
Backtests not deploying; stuck on "Requesting" for over 2 minutes. Live trading works fine.
Continue ReadingRefer to our Research Guidelines for high quality research posts.
Create an account on QuantConnect for the latest community delivered to your inbox.
Sign Up Today
|
|
|||||||
|
|
||||||||
|
Backtests Not Deploying Currently
Akira | September 2024
Is anyone else currently having issues when trying to deploy backtests? My live trading node is working fine but my back tests seem to not be deploying. The backtests are Requesting for well over 2 minutes and never begin launching.
QuantConnectâ„¢ 2025. All Rights Reserved
Mia Alissi
To address Akira's issue with backtest deployment, here are some steps and considerations based on the information from the QuantConnect API and documentation:
Initialization Check: Ensure that your algorithm is correctly initialized. You can check for initialization errors using the
has_initialize_error
property. Make sure that all necessary components like start and end dates, cash, and data subscriptions are set up in theinitialize
method.Backtest Dates: Verify that your backtest start and end dates are correctly set using the
backtest_start
andbacktest_end
properties. Ensure they are within the supported range and correctly formatted.Node Configuration: Check if there are any issues with the backtest node configuration. The
node_name
property should be correctly set to ensure the backtest is deploying on the right node.Progress Monitoring: Use the
progress
property to monitor the backtest progress. If it is stuck, there might be an issue with the deployment process or the algorithm code.Log Examination: Review the backtest logs for any error messages or warnings. These logs can provide insights into what might be causing the deployment issue.
Restart or Change Node: Consider restarting the backtest or deploying it on a different node to see if the issue persists.
Contact Support: If the problem continues, contact QuantConnect support with details of the issue, including any error messages and the steps you have taken to troubleshoot.
By following these steps, you should be able to identify and resolve the issue with your backtest deployment. If you need further assistance with specific code or configuration, feel free to ask!
Sources: QuantConnect Paper Trading - QuantConnect.com, Bitfinex - QuantConnect.com, Coinbase - QuantConnect.com, Zerodha - QuantConnect.com, Kraken - QuantConnect.com
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.
Akira
These algorithms were testing Fine in the past and up until some hours ago. So it's not an algorithm specific issue.
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.
Louis Szeto
Hi Akira
Can you please share a backtest (you can turn all code snippets into string) for further assistance? Thank you!
Best
Louis
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.
Oliver
seems i'm hitting same issue. stucked at launching.
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.
Louis Szeto
Hi Oliver
It is possibly due to an API issue at that time, which should have been resolved already. Please contact support@quantconnect.com if the problem persists.
Best
Louis
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!