Why the Sharpe ratio of a sparse strategy gets inflated: annualize over every trading day
Two strategies with the same edge per trade should not have the same Sharpe ratio if one trades every day and the other once a month: the daily trader compounds that edge twenty times as often. A widely used shortcut gives them the same number anyway. This post shows where that shortcut goes wrong, how large the error gets, and how TradePose computes daily-based statistics so that trading frequency is counted.
The shortcut builds daily returns only from days that closed a trade, then annualizes with √252. That √252 assumes 252 observations a year; with only the trading days, the result is the per-trade Sharpe times √252, whatever the number of trades. In simulation, three strategies with the same per-trade edge but trading every day, every 5 days and every 20 days all came out near 1.6, while their true annual Sharpe ratios were 1.59, 0.71 and 0.35. The error also reorders strategies: a sparse strategy with a true Sharpe of 0.89 ranked above a daily strategy with 1.27 in 96.8% of simulated histories. TradePose fills every trading day between the first and last exit, with days without exits recorded as zero, and computes Sharpe, Sortino, expectancy and quantiles on that complete series; win rate, average win and loss, and Kelly count only the days with trades.
That is the conclusion. Each section below is the evidence for one claim; follow the sections or the evidence links into the strategy report for the data on every parameter set.
The shortcut
A common way to compute a backtest’s Sharpe ratio:
- Sum the P&L of the trades that closed on each day.
- Take the mean and standard deviation of those daily values.
- Multiply mean ÷ standard deviation by √252 to annualize.
Step 1 silently drops every day without a closed trade. For a strategy that trades every day nothing is lost. For a strategy that trades once a month, step 1 keeps about 12 values a year, and step 3 still multiplies as if there were 252.
Why it overstates
Annualizing by √252 is correct only when there are 252 observations per year. Suppose each trade has mean μ and standard deviation σ, and the strategy makes N trades a year.
| Daily series used | Result | |
|---|---|---|
| Shortcut | Only the N days with trades | (μ ÷ σ) × √252, regardless of N |
| Every trading day | All 252 days, zeros on days without trades | approximately (μ ÷ σ) × √N |
The true annual Sharpe of N independent trades is (μ ÷ σ) × √N. The shortcut therefore overstates it by √(252 ÷ N): about 2.2 times for a strategy that trades every 5 days, and 4.5 times for one that trades every 20 days.
Simulation 1: same edge per trade, different frequency
Each strategy closes one trade every few trading days, each trade with mean 0.1 and standard deviation 1. Every result is the average over 2,000 simulated ten-year histories, so the bias is visible rather than the noise.
| Trades | Trades per year | True annual Sharpe | Shortcut | Every trading day |
|---|---|---|---|---|
| Every day | 252 | 1.59 | 1.60 | 1.60 |
| Every 5 days | 50.4 | 0.71 | 1.61 | 0.72 |
| Every 20 days | 12.6 | 0.35 | 1.57 | 0.35 |
The shortcut gives every strategy the same Sharpe: it only measures the edge per trade. The series with every trading day follows the true value.
Both simulations use randomly generated trade results, not market data. They isolate the effect of the calculation from everything else.
Simulation 2: the ranking flips
A Sharpe ratio is usually used to compare strategies, so the real damage is to the ranking. Strategy A trades every day with a small edge (mean 0.08); strategy B trades every 20 days with a large edge (mean 0.25).
| Strategy | True annual Sharpe | Shortcut | Every trading day |
|---|---|---|---|
| A: every day, small edge | 1.27 | 1.28 | 1.28 |
| B: every 20 days, large edge | 0.89 | 3.97 | 0.86 |
A is the better strategy. The shortcut ranks B above A in 96.8% of the simulated histories; the full series does so in 16.4%, only where a history’s luck favored B. A parameter search that ranks by the shortcut drifts toward settings that trade less, because fewer trades are rewarded rather than penalized.
How TradePose builds the daily series
Our research reports compute daily statistics on a series that covers the whole track record:
- every period from a strategy’s first exit to its last is present; a day without exits has zero P&L;
- daily periods are Monday to Friday, plus any weekend day with an exit;
- annualization multiplies by √252.
Not every statistic should count the empty days, so the two kinds are separated:
| Computed on the complete series | Computed only on periods with trades |
|---|---|
| Sharpe, Sortino, expectancy, quantiles, drawdown | Win rate, average win, average loss, Kelly |
A day without trades is a real zero return for risk-adjusted performance, but it is neither a win nor a loss. Counting it in the win rate would make every sparse strategy look like it rarely wins.
How to fix it in your own code
In pandas, fill the daily series with every business day before computing the ratio:
daily = trades.groupby(trades["exit_time"].dt.normalize())["pnl"].sum()
days = pd.bdate_range(daily.index.min(), daily.index.max(), tz=daily.index.tz)
daily = daily.reindex(days.union(daily.index), fill_value=0.0)
sharpe = daily.mean() / daily.std() * 252**0.5
The union keeps days with exits that fall on a weekend. Compute win rate and average loss from the trades, or from the days with trades, not from this filled series.
The simulations draw independent trades with normally distributed results; real trades are neither independent nor normal, which affects every Sharpe estimate, not only this one. The daily series starts at the first exit and ends at the last, so long idle stretches before or after the track record are not counted.
Questions this study answers
Why does a strategy that trades rarely get an inflated Sharpe ratio?
Because the common shortcut annualizes by √252 while using only the days with trades. The result is the per-trade Sharpe times √252, independent of how often the strategy trades, which overstates a strategy with N trades a year by √(252 ÷ N).
How does TradePose compute daily Sharpe and related statistics?
On a series with every trading day from the first exit to the last, days without exits recorded as zero. Sharpe, Sortino, expectancy, quantiles and drawdown use that series; win rate, average win and loss, and Kelly use only the periods with trades.
Questions raised along the way
Does the shortcut affect parameter searches?
Yes. Because it ignores trading frequency, settings that trade less score as well as settings that trade more with the same edge per trade, and often better. In the ranking simulation it chose the weaker, sparser strategy 96.8% of the time.
Method and data
Research setup, data and calculations; the identifiers needed to reproduce the study are under data sources.
Changelog
TradePose Research (2026). "Why the Sharpe ratio of a sparse strategy gets inflated: annualize over every trading day." TradePose Research Notes.