# Sortino Ratio

We know that Sharpe ratio is a popular measure for measuring the reward (or excess return) of an asset per unit of risk.

One problem with Sharpe ratio is that it is dimensionless, that is, as it uses the standard deviation of returns as a measure of risk. It penalizes both upward and downward volatility equally.

Sortino ratio is a modification of the Sharpe ratio. Instead of considering both upward and downward movement in volatility, Sortino ratio focuses only on the downward volatility.

The ratio can be calculated using the following formula:

$S = \frac{R - R_{T}}{\sigma_{d} }$

Where RT is the target minimum required rate for the investment and σd is the downside deviation.

The calculation of downside deviation is a bit tricky.

The first step is to calculate the excess returns for all periods (R – Rt). Now, some of these returns will be positive while some will be negative.

The question is “Should you just replace all positive numbers with zeros and go about calculating Sortino ratio, or should you complete omit all the positive results?” If you are simply replacing positive results with zeros, you may underestimate the volatility. Instead the better way is to complete omit the positive results while calculating the standard deviation.

The Sortino ratio provides more realistic risk-adjusted returns on a security as it does not penalize the upward price change.

## Data Science in Finance: 9-Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

### What's Included:

- Getting Started with R
- R Programming for Data Science
- Data Visualization with R
- Financial Time Series Analysis with R
- Quantitative Trading Strategies with R
- Derivatives with R
- Credit Risk Modelling With R
- Python for Data Science
- Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)## Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.