Hi, running a completed C# framework backtest on cloud, the Insights tab in the IDE is empty and the API returns an undocumented error. Looking for guidance on whether this is expected behaviour or a missing setting.
Setup (standard framework pattern):
- SetAlpha(new CompositeAlphaModel(...)) with multiple child AlphaModel instances, each yielding insights from Update(QCAlgorithm, Slice) via Insight.Price(...) with sourceModel populated
- SetPortfolioConstruction(...), AddRiskManagement(...), SetExecution(...) all wired
- Backtest completes successfully, orders fill, no init error
Cloud behaviour:
- Web IDE Insights tab on the result page: empty
- POST /api/v2/backtests/read/insights with valid start/end (≤100 window): returns {"errors":["Insights not found"], "success": false}
- backtests/read/charts returns the full result blob; the state field is absent in cloud responses (so no InsightCount)
- backtests/read/orders returns the orders cleanly
Local LEAN with the same code: state.InsightCount > 0 in result.json, <id>-alpha-results.json is generated, Algorithm.Insights populates normally.
My questions:
- Is "Insights not found" a documented response? Under what conditions does it fire on a completed framework backtest?
- Is there a size cap on the cloud's persisted insight blob? If so, what's the limit and is there a way to enable sampling/truncation server-side rather than
dropping the blob entirely? - Is there an opt-in API call required for the Insights tab to populate on regular cloud backtests (SetInsightExporter, SetAlphaStreamId, similar)?
- Is the Insights tab gated by Alpha Streams enrollment despite the public docs not mentioning it?
Thanks!
Hamza
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!