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:

  1. Is "Insights not found" a documented response? Under what conditions does it fire on a completed framework backtest?
  2. 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?
  3. Is there an opt-in API call required for the Insights tab to populate on regular cloud backtests (SetInsightExporter, SetAlphaStreamId, similar)?
  4. Is the Insights tab gated by Alpha Streams enrollment despite the public docs not mentioning it? 

 

Thanks!