Click here to Login




Sharpe Ratio - Part 2

Updated on 2009-10-13





Here is the second part of the Sharpe Ratio post. In the first part, we have introduced the sharpe ratio and its usage; we have also explained how to calculate and annualize it.

In this post, we will continue to talk about the sharpe ratio, we will list its main advantages and disadvantages and we will show you how to use this ratio in QuantShare.

Let us directly expose the main advantages and disadvantages of the sharpe ratio.
The Sharpe Ratio has become an industry standard, it is so popular, because it is a simple measure (very easy to calculate) and it can be used to compare different strategies. It can be used to compare long and short strategies, bond and stock strategies, leveraged and unleveraged strategies... By calculating the Sharpe ratio of different trading systems, you can determine which strategy performs best (in terms of risk-adjusted return).
Although until now (read the part 1), the sharpe ratio looks like the perfect metric, it has some weaknesses and drawbacks.

Here are some points concerning the sharpe ratio weaknesses:
- A negative Sharpe ratio tells us that the strategy or security being analyzed is performing worse that the risk free rate. All else equal, the portfolio’ sharpe ratio should decrease if we increase the risk (volatility). By looking at its formula, you can see that this is true only when the sharpe ratio is positive. However, with a negative sharpe ratio, increasing risk results in a larger sharpe ratio. Therefore, sharpe ratio should not be used as a measure to compare portfolios that have a negative sharpe ratio value.
- The Ratio formula assumes that the risk free rate is constant, but we all know this is false. Typically, we use the average risk free rate for the strategy period.
- The Sharpe Ratio uses only the standard deviation as a measure of risk. This can be problematic when calculating the Ratio for asymmetric returns because the Standard deviation is most appropriate as a measure of risk for strategies with approximately symmetric return distributions.
- The Ratio is based on historical data, and because past performance is not always an indicator of future results, we should not rely only on this measure to assess trading strategies. Analyzing and identifying the forces behind the strategy' returns is essential.

Using the sharpe ratio in QuantShare
The sharpe ratio is one of many other available metrics in the strategy's backtesting report in QuantShare. It is available in the "Statistics" tab of the trading system report (The report is shown after a simulation or an optimization is complete).
Other metrics include the Sortino ratio, the Ulcer Index, The K-Ratio, the Profit factor, the Payoff ratio...

The sharpe ratio can be used in combination of other measures to create new metrics or it can be plotted as a time-series (Plot the evolution of the sharpe ratio over the strategy back-testing period).
Using the sharpe ratio as a time-series metrics involves creating a money management script and using the following function "Functions.AddMetric". This function can be found in the "OnEndPeriod" event. Make sure you properly handle cases where the Sharpe ratio is negative.

Trading Items based on the Sharpe ratio
Market Composite Index based on the Sharpe Ratio: This is a composite indicator that calculates the average Sharpe ratio of all securities in a specific market/exchange.
Trading Strategy based on the Sharpe Ratio Metric: This strategy ranks all stocks based on their Sharpe ratio and buys the top five.


In a later post, we will delve into how to create time-series metrics for the simulator and how to create buy and sell rules using these time-series metrics. (Example: Reduce the exposure of the trading system if the sharpe ratio falls below a threshold).











no comments (Log in)

QuantShare Blog
QuantShare
Search Posts




QuantShare
Recent Posts QuantShare
Previous Posts

Sharpe Ratio - Part 2
Posted 1835 days ago

Sharpe Ratio - Part 1
Posted 1841 days ago

The 'inside period' function
Posted 1855 days ago

Quantshare version 1.4
Posted 1869 days ago

Looking for trading ideas
Posted 1875 days ago

A vector-based language
Posted 1878 days ago

Data snooping bias
Posted 1891 days ago


More Posts

Back







QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2014 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.