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

Find the best solution in first generation More...

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

Public Member Functions

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
virtual void Initialize (Target target, IReadOnlyList< Constraint > constraints, HashSet< OptimizationParameter > parameters, OptimizationStrategySettings settings)
 Initializes the strategy using generator, extremum settings and optimization parameters More...
 
int GetTotalBacktestEstimate ()
 Calculate number of parameter sets within grid More...
 

Additional Inherited Members

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

Find the best solution in first generation

Definition at line 23 of file GridSearchOptimizationStrategy.cs.

Member Function Documentation

◆ PushNewResults()

override void QuantConnect.Optimizer.Strategies.GridSearchOptimizationStrategy.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 31 of file GridSearchOptimizationStrategy.cs.

Here is the call graph for this function:

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