SortinoRatioParameter

StockSharp.Algo.Statistics

Sortino ratio (annualized return - risk-free rate / annualized downside deviation).

Erbt von: RiskAdjustedRatioParameter

Konstruktoren

SortinoRatioParameter()

Initialize a new instance of the SortinoRatioParameter class.

Methoden

AddRiskSample(decimal)

Adds a new sample to the risk accumulator.

ret
The return value.
GetRisk(int, decimal) : decimal

Gets the risk value (e.g., stddev or downside deviation).

count
Count of samples.
sumReturn
Sum of all returns.

Rückgabe: Risk value.

HasEnoughRiskSamples(int) : bool

Checks if enough risk samples accumulated for calculation.

count
Count of samples.

Rückgabe: Check result.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.