Lean
$LEAN_TAG$
|
Defines the result of Lean compute job More...
Public Member Functions | |
OptimizationResult (string jsonBacktestResult, ParameterSet parameterSet, string backtestId) | |
Create an instance of OptimizationResult More... | |
Public Attributes | |
int | Id => ParameterSet?.Id ?? 0 |
Parameter set Id More... | |
Static Public Attributes | |
static readonly OptimizationResult | Initial = new OptimizationResult(null, null, null) |
Corresponds to initial result to drive the optimization strategy More... | |
Properties | |
string | BacktestId [get] |
The backtest id that generated this result More... | |
string | JsonBacktestResult [get] |
Json Backtest result More... | |
ParameterSet | ParameterSet [get] |
The parameter set at which the result was achieved More... | |
Defines the result of Lean compute job
Definition at line 23 of file OptimizationResult.cs.
QuantConnect.Optimizer.OptimizationResult.OptimizationResult | ( | string | jsonBacktestResult, |
ParameterSet | parameterSet, | ||
string | backtestId | ||
) |
Create an instance of OptimizationResult
jsonBacktestResult | Optimization target value for this backtest |
parameterSet | Parameter set used in compute job |
backtestId | The backtest id that generated this result |
Definition at line 56 of file OptimizationResult.cs.
|
static |
Corresponds to initial result to drive the optimization strategy
Definition at line 28 of file OptimizationResult.cs.
int QuantConnect.Optimizer.OptimizationResult.Id => ParameterSet?.Id ?? 0 |
Parameter set Id
Definition at line 38 of file OptimizationResult.cs.
|
get |
The backtest id that generated this result
Definition at line 33 of file OptimizationResult.cs.
|
get |
Json Backtest result
Definition at line 43 of file OptimizationResult.cs.
|
get |
The parameter set at which the result was achieved
Definition at line 48 of file OptimizationResult.cs.