Skip to content

PerformanceTrackingTool

QuantConnect.Util.PerformanceTrackingTool

Bases: Object

Helper class to track algorithm performance

data_points

data_points: int

Gets the number of data points processed per second

history_data_points

history_data_points: int

Gets the number of data points of algorithm history provider

initialize

initialize(algorithm: IAlgorithm) -> None

sample

sample(
    data_point_count: int,
    utc_algo_time: Union[datetime, date],
) -> None

shutdown

shutdown() -> None

start

start(target: PerformanceTarget) -> None

stop

stop(target: PerformanceTarget) -> None