Skip to content

ResultsUtil

QuantConnect.Report.ResultsUtil

Bases: Object

Utility methods for dealing with the Result objects

benchmark_points

benchmark_points(
    result: Result,
) -> SortedList[datetime, float]

Gets the points of the benchmark

Parameters:

Name Type Description Default
result Result

Backtesting or live results

required

Returns:

Type Description
SortedList[datetime, float]

Sorted list keyed by date and value.

equity_points

equity_points(
    result: Result, series_name: str = None
) -> SortedList[datetime, float]

Get the points, from the Series name given, in Strategy Equity chart

Parameters:

Name Type Description Default
result Result

Result object to extract the chart points

required
series_name str

Series name from which the points will be extracted. By default is Equity series

None