Skip to content

Analysis

QuantConnect.Analysis

Bases: Object

Represents the outcome of a single backtest diagnostic analysis, containing the analysis name, diagnostic context, and a list of solutions.

name

name: str

Gets or sets the name of the analysis that produced this result.

issue

issue: str

Gets or sets a short description of why the analysis was triggered.

sample

sample: Object

Gets or sets a representative sample value of the issue detected by the analysis. It can be something like a log message, an order or an order event.

count

count: Optional[int]

Gets or sets the total number of matching occurrences found by the analysis. If null, the analysis is reporting a single issue with the provided sample; if not null, the sample represents one of multiple occurrences of the same issue.

solutions

solutions: Sequence[str]

Gets or sets human-readable suggestions for resolving the detected issue.