The Sharpe Ratio is a risk-adjusted measure of return that uses standard deviation to represent risk.
Usage
SharpeRatio(Ra, rf = 0)
Arguments
Ra
a vector, matrix, data frame, timeSeries or zoo object of asset returns
rf
risk free rate, in same period as your returns
Value
Sharpe Ratio
Details
The Sharpe ratio is simply the return per unit of risk (represented by variance). The higher the Sharpe Ratio, the better the combined performance of "risk" and return.