Effacer les filtres
Effacer les filtres

Sharpe ratio in Report

1 vue (au cours des 30 derniers jours)
jorge cogno
jorge cogno le 17 Fév 2024
Modifié(e) : William Rose le 17 Fév 2024
In the example runBackTest for RiskFreeRate=0 TotalReturn=0.22943, SharpeRatio=0.11415 and Volatility=0.0075013 are reported. I don't see how this SharpeRatio is calculated, would you please explain? Thanks

Réponses (1)

William Rose
William Rose le 17 Fév 2024
Modifié(e) : William Rose le 17 Fév 2024
[edit: the 0 in the equation below is for the risk free rate]
"RiskFreeRate=0 TotalReturn=0.22943, SharpeRatio=0.11415 and Volatility=0.0075013"
For that example, the average return is 0.00085456.
So you do
(.00085456-0)/.0075013
ans = 0.1139
Pretty close, maybe some rounding issues.

Catégories

En savoir plus sur Risk Management Toolbox dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by