Skip to content

StatisticsResults

QuantConnect.Statistics.StatisticsResults

StatisticsResults(
    total_performance: AlgorithmPerformance,
    rolling_performances: Dictionary[
        str, AlgorithmPerformance
    ],
    summary: Dictionary[str, str],
)
StatisticsResults()

Bases: Object

The StatisticsResults class represents total and rolling statistics for an algorithm

Initializes a new instance of the StatisticsResults class

Parameters:

Name Type Description Default
total_performance Optional[AlgorithmPerformance]

The algorithm total performance

None
rolling_performances Optional[Dictionary[str, AlgorithmPerformance]]

The algorithm rolling performances

None
summary Optional[Dictionary[str, str]]

The summary performance dictionary

None

total_performance

total_performance: AlgorithmPerformance

The performance of the algorithm over the whole period

rolling_performances

rolling_performances: Dictionary[str, AlgorithmPerformance]

The rolling performance of the algorithm over 1, 3, 6, 12 month periods

summary

summary: Dictionary[str, str]

Returns a summary of the algorithm performance as a dictionary