Skip to content

BacktestResult

QuantConnect.Packets.BacktestResult

BacktestResult()
BacktestResult(parameters: BacktestResultParameters)

Bases: Result

Backtest results object class - result specific items from the packet.

Signature descriptions:

  • Default Constructor

  • Constructor for the result class using dictionary objects.

rolling_window

rolling_window: Dictionary[str, AlgorithmPerformance]

Rolling window detailed statistics.

total_performance

total_performance: AlgorithmPerformance

Rolling window detailed statistics.

charts

charts: IDictionary[str, Chart]

Charts updates for the live algorithm since the last result packet

orders

orders: IDictionary[int, Order]

Order updates since the last result packet

order_events

order_events: List[OrderEvent]

OrderEvent updates since the last result packet

profit_loss

profit_loss: IDictionary[datetime, float]

Trade profit and loss information since the last algorithm result packet

statistics

statistics: IDictionary[str, str]

Statistics information sent during the algorithm operations.

runtime_statistics

runtime_statistics: IDictionary[str, str]

Runtime banner/updating statistics in the title banner of the live algorithm GUI.

state

state: IDictionary[str, str]

State of the result packet.

server_statistics

server_statistics: IDictionary[str, str]

Server status information, including CPU/RAM usage, ect...

algorithm_configuration

algorithm_configuration: AlgorithmConfiguration

The algorithm's configuration required for report generation