Skip to content

BaseOptimization

QuantConnect.Api.BaseOptimization

BaseOptimization()

Bases: RestResponse

BaseOptimization item from the QuantConnect.com API.

JSON Constructor

optimization_id

optimization_id: str

Optimization ID

project_id

project_id: int

Project ID of the project the optimization belongs to

name

name: str

Name of the optimization

status

Status of the optimization

node_type

node_type: str

Optimization node type

out_of_sample_days

out_of_sample_days: int

Number of days of out of sample days

out_of_sample_max_end_date

out_of_sample_max_end_date: Optional[datetime]

End date of out of sample data

parameters

parameters: List[OptimizationParameter]

Parameters used in this optimization

criterion

criterion: Target

Optimization statistical target

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