Quant Invest System

The Sharpe ratio per trade, and how many trades you need

A Sharpe ratio on its own says how good a result looks. It does not say how sure you can be. For that you also need the number of observations and the shape of their distribution.

The ratio itself

The Sharpe ratio is the average return divided by the standard deviation of returns. It is usually annualised by multiplying by the square root of the number of periods in a year, which assumes the returns are independent and alike. Annualised figures from different tools are often computed on different periods, so they are rarely comparable.

Why per trade

For a strategy that trades a few times a month, daily returns are mostly zero. Those zero days make the return series look calmer than the strategy is, and the annualised Sharpe ratio looks more certain than it should. A closed trade is the natural unit of evidence: one bet, one outcome. We measure each trade’s return on the capital it risked, after costs, and compute the Sharpe ratio of those returns.

From a ratio to a probability

Bailey and López de Prado (2012) give the probabilistic Sharpe ratio (PSR): the probability that the true Sharpe ratio is above a benchmark SR*, given the estimate SR from n observations, their skewness γ₃ and their kurtosis γ₄:

PSR = Φ( (SR − SR*) · √(n − 1) / √(1 − γ₃·SR + (γ₄ − 1)/4 · SR²) )

Φ is the standard normal distribution function. Negative skew and fat tails, both common in trading returns, make the denominator larger and the probability lower. With a benchmark of zero, PSR answers a plain question: how likely is it that this strategy has any edge at all?

How many trades a result needs

Turning the same formula around gives the minimum track record length: the number of observations needed for PSR to reach a chosen confidence, for example 0.95.

MinTRL = 1 + (1 − γ₃·SR + (γ₄ − 1)/4 · SR²) · (z / (SR − SR*))²

Here z is the normal quantile for the chosen confidence, about 1.645 for 0.95. A worked example with made-up inputs, to show the scale:

  • A per-trade Sharpe ratio of 0.1, symmetric returns with normal tails: about 273 trades.
  • The same ratio with skewness of −1 and kurtosis of 6: about 302 trades.
  • Half the ratio, 0.05, symmetric: about 1,085 trades. Halving the edge roughly quadruples the evidence you need.

With 100 trades, the first strategy would have a PSR of about 0.84. That looks high but means roughly a one-in-six chance that a strategy with no edge would look at least this good. It is not enough.

An example

Our sample report runs a Donchian channel breakout on synthetic four-hour prices with no edge by construction. Over 316 trades in the first 80% of the window, the average trade lost 0.10% after costs and the PSR against zero is 0.205. There is no question of needing more trades here: the estimate points the wrong way.

How we use it

In our reports a result counts as an edge when PSR against zero is at least 0.95, which is the same as having at least the minimum track record length. Below 30 trades we do not judge at all. The report shows the observed Sharpe ratio per trade, the number of trades and the number needed side by side. Details are on the methodology page.

PSR does not correct for the number of variants you tried before this one. That is a separate problem, covered in Why one good backtest proves little.

Sources

  • Bailey, D. H. and López de Prado, M. (2012). The Sharpe Ratio Efficient Frontier. Journal of Risk, 15(2).
  • Lo, A. W. (2002). The Statistics of Sharpe Ratios. Financial Analysts Journal, 58(4).