[19:40:] API Error Message: Error retrieving backtest chart, please try again later
[19:40:] API Error Message: Error retrieving backtest chart, please try again later
[19:40:] API Error Message: Error retrieving backtest chart, please try again later
[19:40:] API Error Message: Error retrieving backtest chart, please try again later
[19:40:] API Error Message: Error retrieving backtest chart, please try again later
[19:40:] API Error Message: Error retrieving backtest chart, please try again later
[19:40:] API Error Message: Error retrieving orders result, please try again later
[19:40:] Algorithm '50166cd00cc2c48a8dcdad8e06573bf6' completed
Mia Alissi
To help 'Song' with the API error messages encountered, here are some steps and considerations based on the documentation and API references:
Check API Quotas: Ensure that your algorithm is within the plotting quotas. Exceeding these can cause errors in retrieving backtest charts. The quotas depend on your organization tier, with limits on the number of series and data points per series. For example, the Free tier allows up to 10 series and 4,000 data points per series.
Inspect Algorithm Code: Verify that the algorithm correctly implements the
get_chart_updates
method. This method fetches chart updates since the last request. Ensure that your code is not making excessive or unnecessary calls to this method.Review Error Handling: Use the
error
method in theAlgorithmPythonWrapper
class to log detailed error messages. This will help in debugging and understanding the issue more clearly.Implement a Retry Mechanism: Consider adding a retry mechanism to handle temporary API failures. This can involve waiting for a short period before attempting to fetch data again.
Check Network Stability: Ensure that your network connection is stable. Intermittent connectivity issues can lead to API errors.
Consult Documentation: Review the QuantConnect documentation for any updates or known issues related to API endpoints for backtest charts and orders.
Contact Support: If the issue persists, reach out to QuantConnect support for assistance. Provide them with detailed logs and error messages for further investigation.
By following these steps, you can address the API error messages and improve the reliability of your algorithm's interaction with the QuantConnect platform.
Sources: Charting - QuantConnect.com, Debugging - QuantConnect.com, Results - 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.
Sean Sean Sean
it works well several hours ago ,it seems some error from backtest server side
Â
Alexandre Catarino
Hi Song Yang ,
The Eng Team has solved this issue, and I can no longer reproduce it.
Please let us know if it persists on your end.
Best regards,
Alex
Sean Sean Sean
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!