powered by
The Sortino ratio is an analog to the sharp ratio, with standard deviation replaced by the downside deviation.
pt.sortino(r,p,n,rf)
:a vector of a risk asset return
:target return, aka minimum acceptable return(MAR)
:number of years of asset return, used to calculate annualized return
:risk free rate
# NOT RUN { rtn <- runif(12, -1, 1) pt.sortino(rtn,0.3,1,0.024) # }
Run the code above in your browser using DataLab