Description Usage Arguments Examples
The Sortino ratio is an analog to the sharp ratio, with standard deviation replaced by the downside deviation.
1 | pt.sortino(r,p,n,rf)
|
r |
:a vector of a risk asset return |
p |
:target return, aka minimum acceptable return(MAR) |
n |
:number of years of asset return, used to calculate annualized return |
rf |
:risk free rate |
1 2 | rtn <- runif(12, -1, 1)
pt.sortino(rtn,0.3,1,0.024)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.