Lean
$LEAN_TAG$
|
Defines the optimization settings, direction, solution and exit, i.e. optimization strategy More...
Public Member Functions | |
void | Initialize (Target target, IReadOnlyList< Constraint > constraints, HashSet< OptimizationParameter > parameters, OptimizationStrategySettings settings) |
Initializes the strategy using generator, extremum settings and optimization parameters More... | |
void | PushNewResults (OptimizationResult result) |
Callback when lean compute job completed. More... | |
int | GetTotalBacktestEstimate () |
Estimates amount of parameter sets that can be run More... | |
Properties | |
OptimizationResult | Solution [get] |
Best found solution, its value and parameter set More... | |
Events | |
EventHandler< ParameterSet > | NewParameterSet |
Fires when new parameter set is retrieved More... | |
Defines the optimization settings, direction, solution and exit, i.e. optimization strategy
Definition at line 26 of file IOptimizationStrategy.cs.
void QuantConnect.Optimizer.Strategies.IOptimizationStrategy.Initialize | ( | Target | target, |
IReadOnlyList< Constraint > | constraints, | ||
HashSet< OptimizationParameter > | parameters, | ||
OptimizationStrategySettings | settings | ||
) |
Initializes the strategy using generator, extremum settings and optimization parameters
target | The optimization target |
constraints | The optimization constraints to apply on backtest results |
parameters | optimization parameters |
settings | optimization strategy advanced settings |
Implemented in QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy, and QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy.
void QuantConnect.Optimizer.Strategies.IOptimizationStrategy.PushNewResults | ( | OptimizationResult | result | ) |
Callback when lean compute job completed.
result | Lean compute job result and corresponding parameter set |
Implemented in QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy, QuantConnect.Optimizer.Strategies.EulerSearchOptimizationStrategy, and QuantConnect.Optimizer.Strategies.GridSearchOptimizationStrategy.
int QuantConnect.Optimizer.Strategies.IOptimizationStrategy.GetTotalBacktestEstimate | ( | ) |
Estimates amount of parameter sets that can be run
Implemented in QuantConnect.Optimizer.Strategies.StepBaseOptimizationStrategy.
|
get |
Best found solution, its value and parameter set
Definition at line 36 of file IOptimizationStrategy.cs.
EventHandler<ParameterSet> QuantConnect.Optimizer.Strategies.IOptimizationStrategy.NewParameterSet |
Fires when new parameter set is retrieved
Definition at line 31 of file IOptimizationStrategy.cs.