Lean  $LEAN_TAG$
QuantConnect.Optimizer.Objectives.Target Class Reference

The optimization statistical target More...

Inheritance diagram for QuantConnect.Optimizer.Objectives.Target:
[legend]

Public Member Functions

 Target (string target, Extremum extremum, decimal? targetValue)
 Creates a new instance More...
 
override string ToString ()
 Pretty representation of this optimization target More...
 
bool MoveAhead (string jsonBacktestResult)
 Check backtest result More...
 
void CheckCompliance ()
 Try comply target value More...
 

Properties

Extremum Extremum [get]
 Defines the direction of optimization, i.e. maximization or minimization More...
 
decimal? Current [get]
 Current value More...
 
- Properties inherited from QuantConnect.Optimizer.Objectives.Objective
string Target [get]
 Target; property of json file we want to track More...
 
decimal? TargetValue [get]
 Target value More...
 

Events

EventHandler Reached
 Fires when target complies specified value More...
 

Additional Inherited Members

- Protected Member Functions inherited from QuantConnect.Optimizer.Objectives.Objective
 Objective (string target, decimal? targetValue)
 Creates a new instance More...
 

Detailed Description

The optimization statistical target

Definition at line 25 of file Target.cs.

Constructor & Destructor Documentation

◆ Target()

QuantConnect.Optimizer.Objectives.Target.Target ( string  target,
Extremum  extremum,
decimal?  targetValue 
)

Creates a new instance

Definition at line 47 of file Target.cs.

Here is the caller graph for this function:

Member Function Documentation

◆ ToString()

override string QuantConnect.Optimizer.Objectives.Target.ToString ( )

Pretty representation of this optimization target

Definition at line 55 of file Target.cs.

◆ MoveAhead()

bool QuantConnect.Optimizer.Objectives.Target.MoveAhead ( string  jsonBacktestResult)

Check backtest result

Parameters
jsonBacktestResultBacktest result json
Returns
true if found a better solution; otherwise false

Definition at line 65 of file Target.cs.

Here is the call graph for this function:

◆ CheckCompliance()

void QuantConnect.Optimizer.Objectives.Target.CheckCompliance ( )

Try comply target value

Definition at line 91 of file Target.cs.

Property Documentation

◆ Extremum

Extremum QuantConnect.Optimizer.Objectives.Target.Extremum
get

Defines the direction of optimization, i.e. maximization or minimization

Definition at line 31 of file Target.cs.

◆ Current

decimal? QuantConnect.Optimizer.Objectives.Target.Current
get

Current value

Definition at line 37 of file Target.cs.

Event Documentation

◆ Reached

EventHandler QuantConnect.Optimizer.Objectives.Target.Reached

Fires when target complies specified value

Definition at line 42 of file Target.cs.


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