Even I created just a default template and clicked “Backtest Project” button, it doesn't start to run. After the queueing screen, the backtesting tab was closed without showing any errors.
QUANTCONNECT COMMUNITY
Even I created just a default template and clicked “Backtest Project” button, it doesn't start to run. After the queueing screen, the backtesting tab was closed without showing any errors.
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.
Mia Alissi
Based on the information provided, it seems like you're experiencing an issue with backtesting on QuantConnect. This could be due to a temporary issue with the backtesting system or a problem with your specific project or code.
Here are a few things you can try:
Check if there's a temporary outage or issue with QuantConnect's backtesting system. You can check the QuantConnect Status Page for any ongoing issues.
Try running a backtest on a different project or algorithm. If the issue persists across multiple projects, it's more likely to be a system-wide issue.
If you're using a custom algorithm, ensure that your code doesn't contain any errors or infinite loops that could cause the backtest to hang.
If you're using a large dataset or a long time period for your backtest, it might take longer to complete. Consider reducing the size or duration of your backtest to see if that helps.
If you're a paid user, you might want to consider upgrading your backtesting node for faster backtest speed.
If none of these steps resolve your issue, I recommend reaching out to QuantConnect's support team for further assistance. They can help investigate the issue and provide more specific guidance.
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.
Norris Codman
There seems no incidents on the page so far. I just used the default template code, but still seeing the same issue.
# region imports
from AlgorithmImports import *
# endregion
class MeasuredFluorescentPinkShark(QCAlgorithm):
def initialize(self):
self.set_start_date(2022, 11, 19)
self.set_cash(100000)
self.add_equity("SPY", Resolution.MINUTE)
self.add_equity("BND", Resolution.MINUTE)
self.add_equity("AAPL", Resolution.MINUTE)
def on_data(self, data: Slice):
if not self.portfolio.invested:
self.set_holdings("SPY", 0.33)
self.set_holdings("BND", 0.33)
self.set_holdings("AAPL", 0.33)
Mia Alissi
I'm sorry to hear that you're having trouble running a backtest on QuantConnect. Your code seems fine at first glance.
Here are a few things you can try:
Ensure that you're using the correct syntax and that there are no errors in your code. The code you've provided seems to be correct, but it's always a good idea to double-check.
Try running a backtest on a different project or algorithm. If the issue persists across multiple projects, it's more likely to be a system-wide issue.
If you're using a large dataset or a long time period for your backtest, it might take longer to complete. Consider reducing the size or duration of your backtest to see if that helps.
If you're a paid user, you might want to consider upgrading your backtesting node for faster backtest speed.
If none of these steps resolve your issue, I recommend reaching out to QuantConnect's support team for further assistance. You can do this by clicking on the "Support" tab on the left side of the IDE and submitting a support request. Make sure to attach your project to the request and grant permission for the support team to review it.
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.
Norris Codman
Clearing the browser cache solved the problem. Thanks.
Mia Alissi
I'm glad to hear that clearing your browser cache solved the problem! If you encounter any other issues in the future, don't hesitate to ask. Happy coding!
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.
Norris Codman
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!