Skip to content

IRegressionAlgorithmDefinition

QuantConnect.Interfaces.IRegressionAlgorithmDefinition

Defines a C# algorithm as a regression algorithm to be run as part of the test suite. This interface also allows the algorithm to declare that it has versions in other languages that should yield identical results.

algorithm_status

algorithm_status: AlgorithmStatus

Final status of the algorithm

can_run_locally

can_run_locally: bool

This is used by the regression test system to indicate if the open source Lean repository has the required data to run this algorithm.

languages

languages: List[Language]

This is used by the regression test system to indicate which languages this algorithm is written in.

data_points

data_points: int

Data Points count of all timeslices of algorithm

algorithm_history_data_points

algorithm_history_data_points: int

Data Points count of the algorithm history

expected_statistics

expected_statistics: Dictionary[str, str]

This is used by the regression test system to indicate what the expected statistics are from running the algorithm