Sharpe ratio in Report

1 回表示 (過去 30 日間)
jorge cogno
jorge cogno 2024 年 2 月 17 日
編集済み: William Rose 2024 年 2 月 17 日
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

回答 (1 件)

William Rose
William Rose 2024 年 2 月 17 日
編集済み: William Rose 2024 年 2 月 17 日
[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.

カテゴリ

Help Center および File ExchangeLanguage Fundamentals についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by