Skip to content

BasicBacktest

QuantConnect.Api.BasicBacktest

BasicBacktest()

Bases: RestResponse

Base class for backtest result object response

JSON Constructor

error

error: str

Backtest error message

stacktrace

stacktrace: str

Backtest error stacktrace

backtest_id

backtest_id: str

Assigned backtest Id

status

status: str

Status of the backtest

name

name: str

Name of the backtest

created

created: datetime

Backtest creation date and time

progress

progress: float

Progress of the backtest in percent 0-1.

optimization_id

optimization_id: str

Optimization task ID, if the backtest is part of an optimization

tradeable_dates

tradeable_dates: int

Number of tradeable days

parameter_set

parameter_set: ParameterSet

Optimization parameters

snap_shot_id

snap_shot_id: int

Snapshot id of this backtest result

success

success: bool

Indicate if the API request was successful.

errors

errors: List[str]

List of errors with the API call.

to_string

to_string() -> str

Returns the string representation of this object