SortinoRatioParameter
StockSharp.Algo.Statistics
Sortino ratio (annualized return - risk-free rate / annualized downside deviation).
Наследует: RiskAdjustedRatioParameter
Конструкторы
SortinoRatioParameter()
Initialize a new instance of the SortinoRatioParameter class.
Методы
GetRisk(int, decimal) : decimal
Gets the risk value (e.g., stddev or downside deviation).
- count
- Count of samples.
- sumReturn
- Sum of all returns.
Возвращает: Risk value.
HasEnoughRiskSamples(int) : bool
Checks if enough risk samples accumulated for calculation.
- count
- Count of samples.
Возвращает: Check result.
Reset()
Reset state.