Skip to content

OptimizationBacktest

QuantConnect.Api.OptimizationBacktest

OptimizationBacktest(
    parameter_set: ParameterSet, backtest_id: str, name: str
)

Bases: Object

OptimizationBacktest object from the QuantConnect.com API.

Creates a new instance

Parameters:

Name Type Description Default
parameter_set ParameterSet

The parameter set

required
backtest_id str

The backtest id if any

required
name str

The backtest name

required

progress

progress: float

Progress of the backtest as a percentage from 0-1 based on the days lapsed from start-finish.

name

name: str

The backtest name

host_name

host_name: str

The backtest host name

backtest_id

backtest_id: str

The backtest id

parameter_set

parameter_set: ParameterSet

Represent a combination as key value of parameters, i.e. order doesn't matter

statistics

statistics: IDictionary[str, str]

The backtest statistics results

equity

The backtest equity chart series

exit_code

exit_code: int

The exit code of this backtest

out_of_sample_max_end_date

out_of_sample_max_end_date: Optional[datetime]

Backtest maximum end date

out_of_sample_days

out_of_sample_days: int

The backtest out of sample day count

start_date

start_date: datetime

The backtest start date

end_date

end_date: datetime

The backtest end date