Lean  $LEAN_TAG$
QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy Class Reference

Advanced brute-force strategy with search in-depth for best solution on previous step More...

Inheritance diagram for QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy:
[legend]

Public Member Functions

override void Initialize (Target target, IReadOnlyList< Constraint > constraints, HashSet< OptimizationParameter > parameters, OptimizationStrategySettings settings)
 Initializes the strategy using generator, extremum settings and optimization parameters More...
 
override void PushNewResults (OptimizationResult result)
 Checks whether new lean compute job better than previous and run new iteration if necessary. More...
 
- Public Member Functions inherited from QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy
int GetTotalBacktestEstimate ()
 Calculate number of parameter sets within grid More...
 

Protected Member Functions

override void OnNewParameterSet (ParameterSet parameterSet)
 Handles new parameter set More...
 
- Protected Member Functions inherited from QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy
virtual void ProcessNewResult (OptimizationResult result)
 
IEnumerable< ParameterSetStep (HashSet< OptimizationParameter > args)
 Enumerate all possible arrangements More...
 

Additional Inherited Members

- Properties inherited from QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy
bool Initialized [get, set]
 Indicates was strategy initialized or no More...
 
HashSet< OptimizationParameterOptimizationParameters [get, set]
 Optimization parameters More...
 
Target Target [get, set]
 Optimization target, i.e. maximize or minimize More...
 
IEnumerable< ConstraintConstraints [get, set]
 Optimization constraints; if it doesn't comply just drop the backtest More...
 
OptimizationResult Solution [get, protected set]
 Keep the best found solution - lean computed job result and corresponding parameter set More...
 
OptimizationStrategySettings Settings [get, protected set]
 Advanced strategy settings More...
 
- Properties inherited from QuantConnect.Optimizer.Strategies.IOptimizationStrategy
OptimizationResult Solution [get]
 Best found solution, its value and parameter set More...
 
- Events inherited from QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy
EventHandler< ParameterSetNewParameterSet
 Fires when new parameter set is generated More...
 
- Events inherited from QuantConnect.Optimizer.Strategies.IOptimizationStrategy
EventHandler< ParameterSetNewParameterSet
 Fires when new parameter set is retrieved More...
 

Detailed Description

Advanced brute-force strategy with search in-depth for best solution on previous step

Definition at line 27 of file EulerSearchOptimizationStrategy.cs.

Member Function Documentation

◆ Initialize()

override void QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy.Initialize ( Target  target,
IReadOnlyList< Constraint constraints,
HashSet< OptimizationParameter parameters,
OptimizationStrategySettings  settings 
)
virtual

Initializes the strategy using generator, extremum settings and optimization parameters

Parameters
targetThe optimization target
constraintsThe optimization constraints to apply on backtest results
parametersOptimization parameters
settingsOptimization strategy settings

Reimplemented from QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy.

Definition at line 40 of file EulerSearchOptimizationStrategy.cs.

◆ PushNewResults()

override void QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy.PushNewResults ( OptimizationResult  result)
virtual

Checks whether new lean compute job better than previous and run new iteration if necessary.

Parameters
resultLean compute job result and corresponding parameter set

Implements QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy.

Definition at line 61 of file EulerSearchOptimizationStrategy.cs.

Here is the call graph for this function:

◆ OnNewParameterSet()

override void QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy.OnNewParameterSet ( ParameterSet  parameterSet)
protectedvirtual

Handles new parameter set

Parameters
parameterSetNew parameter set

Reimplemented from QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy.

Definition at line 140 of file EulerSearchOptimizationStrategy.cs.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: