Skip to content

OptimizationNodePacket

QuantConnect.Optimizer.OptimizationNodePacket

OptimizationNodePacket()
OptimizationNodePacket(packet_type: PacketType)

Bases: Packet

Provide a packet type containing information on the optimization compute job.

Creates a new instance

name

name: str

The optimization name

created

created: datetime

The creation time

user_id

user_id: int

User Id placing request

user_token

user_token: str

project_id

project_id: int

Project Id of the request

compile_id

compile_id: str

Unique compile id of this optimization

optimization_id

optimization_id: str

The unique optimization Id of the request

organization_id

organization_id: str

Organization Id of the request

maximum_concurrent_backtests

maximum_concurrent_backtests: int

Limit for the amount of concurrent backtests being run

optimization_strategy

optimization_strategy: str

Optimization strategy name

criterion

criterion: Target

Objective settings

constraints

constraints: Sequence[Constraint]

Optimization constraints

optimization_parameters

optimization_parameters: HashSet[OptimizationParameter]

The user optimization parameters

optimization_strategy_settings

optimization_strategy_settings: OptimizationStrategySettings

The user optimization parameters

out_of_sample_max_end_date

out_of_sample_max_end_date: Optional[datetime]

Backtest out of sample maximum end date

out_of_sample_days

out_of_sample_days: int

The backtest out of sample day count

type

type: PacketType

Packet type defined by a string enum

channel

channel: str

User unique specific channel endpoint to send the packets