Sharpe ratio in Report
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (1)
William Rose
am 17 Feb. 2024
Bearbeitet: William Rose
am 17 Feb. 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
Pretty close, maybe some rounding issues.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Testing Frameworks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!