Skip to content

OptimizationSummary

QuantConnect.Api.OptimizationSummary

OptimizationSummary()

Bases: BaseOptimization

Optimization summary response for creating an optimization

JSON Constructor

created

created: datetime

Date when this optimization was created

psr

psr: Optional[float]

Price-sales ratio stastic

sharpe_ratio

sharpe_ratio: Optional[float]

Sharpe ratio statistic

trades

trades: Optional[int]

Number of trades

clone_id

clone_id: Optional[int]

ID of project, were this current project was originally cloned

success

success: bool

Indicate if the API request was successful.

errors

errors: List[str]

List of errors with the API call.

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

to_string

to_string() -> str

Returns the string representation of this object