Hi guys,
I keep getting these errors;
API Error Message: Error retrieving backtest chart, please try again later
API Error Message: Error retrieving orders result, please try again later
At first I tried to use the ES mini futures:
future = self.AddFuture(Futures.Indices.SP500EMini, Resolution.Minute)
I thought maybe it had trouble to fetch Futures data so I switched over to the CFD but still got the same error.
self.contract = self.AddCfd("SPX500USD", Resolution.Minute).Symbol
Any ideas?
Thanks in advance!
Mia Alissi
To help Mischa resolve the API errors and code issues, here are some steps and observations:
API Errors: These errors typically occur when the system is unable to fetch backtest charts or orders due to server-side limitations or a large volume of requests. Here are some steps to potentially resolve these issues:
Code Adjustments: Based on the analysis, there were some issues in the code, particularly with the enumeration of futures. Here's a corrected version of the code:
Following these steps should assist in mitigating the API errors and aligning the code with QuantConnect best practices. If problems persist, considering reaching out to QuantConnect support can be beneficial.
Sources: Momentum Effect In Commodities Futures, Bybit Crypto Futures Regression Algorithm, Debugging - QuantConnect.com, Getting Started - QuantConnect.com, Futures Fast Trend Following, with Trend Strength
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.
Narloc
Hello,
Same error message here. I think there is currently an issue with the QC platform.
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 Narloc
There should be a temporary API connection issue back then. If this problem persists, please contact support@quantconnect.com
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!