• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Proper Procedure for Calculating Sortino Ratio

Joined
12/4/11
Messages
3
Points
11
I'm writing VBA code for calculating the Sortino ratio and I ran into a speedbump. There are a ton of different sites all saying different things about how to properly calculate the Sortino ratio. So, when I calculate the downside standard deviation, should I divide the sum of the squares by the total number of observations in the series or just the observations below the minimum acceptable return? My gut wants to just take the observations below the minimum acceptable rate or return and divide by (n-1), since it seems like that would give me a more accurate estimate of the downside volatility. But I want to get an educated opinion....
 
You should use the total number of observations. The downside risk should be less if there is a smaller number of observations below the target return.
 
Numerator is real return less target return. Denominator is (average squared downside difference)^(1/2), where returns above the target are considered to have 0 difference -- you are only considering downside standard deviation. I'm not even sure you'd divide by (n-1) instead of n since you are (presumably) not sampling within your time horizon.
 
Back
Top