TreynorRatio: calculate Treynor Ratio of excess return over CAPM beta
Description
The Treynor ratio is similar to the Sharpe Ratio, except it uses beta as the volatility measure (to divide the investment's excess return over the beta).
Usage
TreynorRatio(Ra, Rb, rf = 0, scale = 12, ...)
Arguments
Ra
a vector, matrix, data frame, timeSeries or zoo object of asset returns
Rb
return vector of the benchmark asset
rf
risk free rate, in same period as your returns
scale
number of periods in a year (daily scale = 252, monthly scale = 12, quarterly scale = 4)