CalmarRatioParameter

StockSharp.Algo.Statistics

Calmar ratio (annualized net profit / max drawdown).

继承自: BasePnLStatisticParameter<decimal>

构造函数

CalmarRatioParameter(NetProfitParameter, MaxDrawdownParameter)

Calmar ratio (annualized net profit / max drawdown).

profit
NetProfitParameter
maxDrawdown
MaxDrawdownParameter

方法

Add(DateTime, decimal, decimal?)

To add new data to the parameter.

marketTime
The exchange time.
pnl
The profit-loss value.
commission
Commission.