4
$\begingroup$

I've been using an Excel template to calculate the Sortino ratio for my automated trading strategies. http://investexcel.net/calculate-the-sortino-ratio-with-excel

Basically I input my monthly returns in the return column. That's 12 months of returns for each year from 2006 to 2014.

However, for one of the strategies, let's call it strat A, it had one exceptional year, which had no negative monthly returns. So when the template tries to calculate the Sortino ratio by dividing the returns by the downside risk etc it can't do the calculation because there was no downside risk. So it's dividing by 0 which messes up the calculation.

So I'm wondering what to do in such a scenario?

$\endgroup$
  • $\begingroup$ Are you using discrete returns in computing the Sortino ratio? $\endgroup$ – Quantopik Apr 16 '15 at 21:31
  • $\begingroup$ 2010 1.57%, 6.35%, 12.49%, 6.82%, 1.13%, 9.40%, 1.68%, 10.76%, 3.81%, 22.24%, 13.15%, 0.22%, those returns are the monthly net profits / 100,000 USD x 100 $\endgroup$ – HappySad Apr 16 '15 at 22:23
2
$\begingroup$

Firstly, I suggest you to use more recognized source to study and compute quantitative finance model or indicators; in such case, for instance, you could take as example the following paper as reference.

Precisely there, the authors describe some common errors that one can do in computing the Sortino ratio; although surely you did not do any of them, anyway it could be a good source.

As regards your question, the fact that you rightly get an error is mainly due to the way you set the target return; I suggest you to replace that value with average (median, mode, ...) return in the data sample or the benchmark index return and try to solve the issue in this way; of course, you should replace the target return with for all years.

$\endgroup$
  • $\begingroup$ why the *$£! didnt i think of that! i was using 0.00% as the MAR. just changing that solved the problem. :) @Quantopic, Thank you so much for you answers! $\endgroup$ – HappySad Apr 17 '15 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.