SharpeRatioParameter
StockSharp.Algo.Statistics
Sharpe ratio (annualized return - risk-free rate / annualized standard deviation).
継承元: RiskAdjustedRatioParameter
コンストラクター
SharpeRatioParameter()
Initialize a new instance of the SharpeRatioParameter 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.