Successful traders approach trading with a clearly defined and thoroughly tested strategy. Most traders evaluate the hypothetical future performance of their strategy by measuring the profit or loss of the strategy run on historical data. But is measuring historical profitability enough? Historical profitability provides only a small piece of information about a trading strategy, while another factor that may be important to a trader is the riskiness of their strategy. The Sharpe Ratio and the Sortino Ratio are two methods of evaluating the risk of a strategy by comparing the returns to that of a risk-free investment. This article from QuantNews further explains both of these metrics and provides the formulas used to calculate them.
The Sharpe Ratio
The Sharpe Ratio is calculated by dividing a strategy's excess return beyond the risk-free rate of return by the standard deviation of the returns. Generally measurements above 1 are considered preferable; the higher the better, as this would indicate the returns are achieved with limited volatility of the account equity.
The Sortino Ratio
The Sortino Ratio is a variation of the Sharpe ratio that removes upside volatility from the calculation by considering the standard deviation of the returns to the downside. The Sharpe Ratio considers the standard deviation of both positive and negative returns, so a strategy with extreme positive returns would be penalized the same way as a strategy with extreme negative returns. For s strategy intended to provide consistent returns, the Sharpe Ratio would be an important measurement. However, for a strategy without this limitation, the Sortino Ratio may be a better way to measure risk-adjusted returns.
Whether you are backtesting a strategy or evaluating historical returns of a strategy, the Sharpe and Sortino Ratios can be useful metrics of risk in relation to returns. For those using a Python-based backtesting or live trading system, the article also includes sample Python code for calculating these ratios.
Disclosure
Demo Account: Although demo accounts attempt to replicate real markets, they operate in a simulated market environment. As such, there are key differences that distinguish them from real accounts; including but not limited to, the lack of dependence on real-time market liquidity, a delay in pricing, and the availability of some products which may not be tradable on live accounts. The operational capabilities when executing orders in a demo environment may result in atypically, expedited transactions; lack of rejected orders; and/or the absence of slippage. There may be instances where margin requirements differ from those of live accounts as updates to demo accounts may not always coincide with those of real accounts. Single Share prices are subject to a 15 minute delay.
Any opinions, news, research, analyses, prices, other information, or links to third-party sites contained on this website are provided on an "as-is" basis, as general market commentary and do not constitute investment advice. The market commentary has not been prepared in accordance with legal requirements designed to promote the independence of investment research, and it is therefore not subject to any prohibition on dealing ahead of dissemination. Although this commentary is not produced by an independent source, Friedberg Direct, FXCM or its affiliates takes all sufficient steps to eliminate or prevent any conflicts of interests arising out of the production and dissemination of this communication. The employees of Friedberg Direct and FXCM commit to acting in the clients' best interests and represent their views without misleading, deceiving, or otherwise impairing the clients' ability to make informed investment decisions. For more information about the Friedberg Direct's internal organizational and administrative arrangements for the prevention of conflicts, please refer to the Firms' Managing Conflicts Policy. Please ensure that you read and understand our Full Disclaimer and Liability provision concerning the foregoing Information, which can be accessed here.**
The relationship between Friedberg Direct and FXCM was formed with the purpose to allow Canadian residents access to FXCM's suite of products, while maintaining their accounts with a regulated Canadian firm. All accounts are opened by and held with Friedberg Direct, a division of Friedberg Mercantile Group Ltd., a member of the Investment Industry Regulatory Organization of Canada (IIROC). Friedberg customer accounts are protected by the Canadian Investor Protection Fund within specified limits. A brochure describing the nature and limits of coverage is available upon request or at www.cipf.ca.
Please note you are now leaving the main Friedberg Direct website and you are about to be redirected to https://www.fxcmapps.com/ ("FXCM Apps Store")
Friedberg Mercantile Group Ltd. ("Friedberg Direct") is an independent legal entity and does not own, control or operate the FXCM APPS store. Therefore, Friedberg Direct does NOT endorse or make any warranties regarding any product or service offered on the FXCM Apps Store, nor has reviewed or verified any information that might be presented and/or described on the FXCM Apps Store. The link is provided for your convenience only.
Please note you are now leaving the main Friedberg Direct website and you are about to be redirected to a third-party website.
Friedberg Mercantile Group Ltd. ("Friedberg Direct") is an independent legal entity and does not own, control or operate this third-party website. Therefore, Friedberg Direct does NOT endorse or make any warranties regarding any product or service offered on the website of the third-party, nor has reviewed or verified any information that might be presented and/or described on it. The link is provided for your convenience only.
Any opinions, news, research, analyses, prices, other information, or links to third-party sites contained on this website are provided on an "as-is" basis, as general market commentary and do not constitute investment advice. The market commentary has not been prepared in accordance with legal requirements designed to promote the independence of investment research, and it is therefore not subject to any prohibition on dealing ahead of dissemination. Although this commentary is not produced by an independent source, Friedberg Direct, FXCM or its affiliates takes all sufficient steps to eliminate or prevent any conflicts of interests arising out of the production and dissemination of this communication. The employees of Friedberg Direct and FXCM commit to acting in the clients' best interests and represent their views without misleading, deceiving, or otherwise impairing the clients' ability to make informed investment decisions. For more information about the Friedberg Direct's internal organizational and administrative arrangements for the prevention of conflicts, please refer to the Firms' Managing Conflicts Policy. Please ensure that you read and understand our Full Disclaimer and Liability provision concerning the foregoing Information, which can be accessed here.**