CalmarRatio function

calculate a Calmar or Sterling reward/risk ratioCalmar and Sterling Ratios are yet another method of creating a risk-adjusted measure for ranking investments similar to the SharpeRatio.