How do I compare a strategy with simply holding?
Short answerCompare a strategy with buying and holding the same asset over the same dates, from the same starting balance, with the same fees and slippage. Then look past the final return to the maximum drawdown, the volatility, the share of time invested and a risk-adjusted measure such as the Sharpe ratio. A strategy that earns less than holding can still be worth having if it cuts the drawdown, but only if it beats simply holding less. In a synthetic example, a moving-average crossover returned +23.2% against holding's +50.1%, with a maximum drawdown of 23.3% against 39.8%, yet a 55% position bought once did about as well on both.
Also check whether the result rests on one lucky period or one trade. Together these checks tell you whether a strategy earns its trades and fees, or whether holding a smaller position would give you the same ride for less.
Valmy noteAs specified on 26 November 2026, Valmy backtest results include the equity series, net return, maximum drawdown and costs. The specification does not list a buy-and-hold benchmark, volatility or a Sharpe ratio among them, so this lesson shows how to compute them from the same data. The live app may differ from the specification.
What a fair comparison holds constant#
A comparison with holding is fair only when the two differ in one thing: the strategy's decisions. Keep everything else the same.
- Same asset and dates. A strategy on ETH/USDT is compared with holding ETH over exactly the same start and end, not with holding BTC or with last year.
- Same starting balance and currency. This lesson measures everything in USDT, starting from 10,000 USDT.
- Same costs. Holding pays a fee and slippage once to buy and once to sell at the end. The strategy pays them on every fill. Leaving costs out flatters the strategy, which trades more.
- The same treatment of idle cash. When a long/flat strategy is out of the market, it holds the quote currency. In this lesson idle USDT earns nothing, and Valmy's specification describes no interest on idle balances (as of 26 November 2026). Holding USDT is a choice too, and it is the second benchmark: a strategy that loses money did worse than doing nothing.
A cost-inclusive hold benchmark in Valmy, as specified#
The simplest benchmark uses the same candles: buy at the first available price after the start, pay the fee and slippage, and value the position at the end net of a sale. A second route stays inside the backtester. As specified, a v1 rule can read the deployment's holdings and buy with its spendable quote balance, so a one-rule program such as "if no base asset is held, buy with all spendable USDT" should behave as buy-and-hold under the same cost model. Check that the app accepts it before relying on it.
The measures: return, drawdown, volatility and exposure#
Four numbers describe most of what separates a strategy from holding. Each answers a different question.
- Net return is the change in the account after all costs: how much you ended up with.
- Maximum drawdown is the largest fall from a peak to a later low, as a percentage of the peak: the worst loss you would have sat through. How deep can a drawdown get, and how long does recovery take? explains it.
- Volatility here is the standard deviation of daily returns, scaled to a year by multiplying by the square root of the number of daily returns in a year. It measures how bumpy the ride was, up and down alike. How much does this market usually move? covers volatility of prices.
- Exposure is the share of time the strategy held the asset. A strategy invested 30% of the time has 30% of the market's risk on average, so it should be compared with a portfolio that holds 30%, not with one that holds 100%.
The Sharpe ratio: return per unit of volatility#
The Sharpe ratio divides a strategy's average excess return by the volatility of its returns, so it measures return per unit of bumpiness. William Sharpe proposed it in 1966 as a "reward-to-variability" ratio for comparing mutual funds. In a 1994 article he described the general form: the average of a return minus a benchmark return, divided by the standard deviation of that difference. With a risk-free asset as the benchmark:
Sharpe ratio = (average daily return − daily risk-free rate) ÷ standard deviation of daily returns × √(daily returns per year)
Higher is better, and the ratio has no units. It lets you compare a strategy that is often out of the market with one that is always in.
Calculating an annualized Sharpe ratio#
Holding in worked example 1 below had an average daily return of 0.242% and a standard deviation of daily returns of 1.785%, over 180 daily returns. With idle cash earning nothing, the risk-free rate is zero:
- Daily ratio: 0.242 ÷ 1.785 ≈ 0.1356.
- Annualized with 365 days: 0.1356 × √365 (about 19.10) ≈ 2.59.
- Annualized with 252 days: 0.1356 × √252 (about 15.87) ≈ 2.15.
252 or 365: choosing how to annualize#
The square-root multiplier should match how many returns the market produces in a year. US stocks trade on about 252 days a year, the usual convention for stock data. Crypto pairs trade every day, so a year holds 365 daily returns. Using 252 on crypto data understates the annual figure by a factor of √(365 ÷ 252) ≈ 1.204, about 20%. Compare Sharpe ratios only when they were annualized the same way, and say which one you used.
What the Sharpe ratio assumes#
The ratio is simple, and its assumptions are easy to forget.
- Volatility stands in for risk. It penalizes large gains as much as large losses and says little about rare crashes or gaps.
- It uses the simple average, not compounded growth. Holding's daily returns in example 1 averaged 0.242%, but its balance grew at a compounded 0.226% a day, the rate that turns the start into +50.1% over 180 days. The gap is about half the variance of daily returns, (1.785%)² ÷ 2 ≈ 0.016 points, and it widens as returns get bumpier. A Sharpe ratio does not tell you how much the account grew, so read it next to the net return.
- Square-root scaling assumes independent returns. Sharpe noted in 1994 that the ratio depends on the period over which it is measured. Lo (2002) showed that when returns are correlated from one period to the next, multiplying by the square root can be badly wrong, overstating the annual Sharpe ratio of some hedge funds by as much as 65%.
- The risk-free rate is a choice. Use zero if idle cash earns nothing. If a trader could earn interest on cash elsewhere, subtract that rate, which lowers every Sharpe ratio.
- It is an estimate with wide error bars. A widely used approximation from Lo (2002), as given by Bailey and coauthors (2014), puts the standard error of an annualized Sharpe ratio at about √((1 + SR² ÷ 730) ÷ years) for daily data. Over 180 days that is about 1.43 for a Sharpe ratio between 1.8 and 2.6. Two strategies whose Sharpe ratios differ by less than that over half a year can't be told apart.
Worked example 1: less return, smaller drawdown (synthetic data)#
This example shows a strategy that returned less than holding with a smaller drawdown, then asks whether simply holding less would have done the same. Over 180 days the crossover returned +23.2% with a maximum drawdown of 23.3%, holding returned +50.1% with 39.8%, and a 55% position bought once returned +27.5% with 25.6%.
Assumptions. The market is 180 days of synthetic five-minute candles designed with four stretches: a rise of about 35% over 50 days, a fall of about 35% over 35 days, a sideways month and a rise of about 35% over 65 days, plus random noise. The strategy is a long/flat crossover of two simple moving averages, SMA(144) and SMA(960), that is, 12 hours and 80 hours of closes. It buys with all USDT on a cross above and sells on a cross below. Signals on a closed candle fill at the next candle's open, which in this synthetic market equals the previous close. Every fill pays an assumed 0.05% slippage and a 0.10% fee. Everything starts with 10,000 USDT. The rule is one that Valmy's v1 language can express, since the SMA is its one indicator.
| Example 1, 180 days | Holding | Strategy | 55% mix |
|---|---|---|---|
| Net return | +50.1% | +23.2% | +27.5% |
| Maximum drawdown | 39.8% | 23.3% | 25.6% |
| Volatility, annualized (365) | 34.1% | 25.6% | 20.1% |
| Sharpe ratio (365 / 252) | 2.59 / 2.15 | 1.78 / 1.48 | 2.55 / 2.12 |
| Time invested | 100% | 55% | 55% of the balance |
| Fees and slippage | 25.00 and 12.50 USDT | 812 and 406 USDT | 13.75 and 6.87 USDT |
Is the smaller drawdown skill or just less exposure?#
The strategy held the asset 55% of the time. The fair question is whether its timing did better than a portfolio that keeps 55% of the starting balance in the asset and 45% in USDT for the whole period, bought once and never traded. That mix returned +27.5% with a maximum drawdown of 25.6%. The strategy returned 4.3 points less with a drawdown 2.3 points smaller, and its Sharpe ratio of 1.78 was below both the mix's 2.55 and holding's 2.59.
One reading is that the crossover's timing added nothing a trader couldn't get by holding less, while costing 812 USDT in fees and 406 USDT in slippage over 74 fills. Another reading is that a trader who would sell in panic during a 39.8% fall might still prefer a rule that steps aside. Both readings face the same limit: over 180 days, the gap between Sharpe ratios of 2.59 and 1.78 is smaller than one standard error of about 1.43.
Worked example 2: beating holding because of one trade (synthetic data)#
This example shows a strategy that beat holding over the whole period only because one trade caught one rally: +4.5% against holding's −5.2%. Remove that trade and the strategy lost 19.7%, worse than holding and much worse than staying in USDT.
Assumptions. A new synthetic market drifts down by about 12% over 80 days, jumps about 25% in a two-day rally and drifts down by about 15% over the last 98 days. The strategy, costs and starting balance are the same as in example 1.
Holding returned −5.2%, with a maximum drawdown of 32.8%. The strategy returned +4.5%, with a maximum drawdown of 20.2%, over 39 round trips. On those numbers it beat holding on every count. But only 8 of its 39 trades made money, and the best one, bought on day 77 and sold on day 85, gained 30.1%. Without that trade, the other 38 compound to −19.7%: worse than holding, and far worse than the 0% of staying in USDT.
Checks for a result that rests on one period#
The strategy was ahead of holding in four of six 30-day blocks, mostly by losing less while the market fell: from day 91 to day 180 it lost 18.1% while holding lost 29.3%. That is the benefit of sitting in USDT part of the time, not of good trades. Four checks expose a result like this:
- Remove the best trade, or the best week, and recompute. Here the result flipped from +4.5% to −19.7%.
- Split the period into blocks and see whether one block decides the total.
- Compare with holding USDT as well as the asset. Losing less than a falling market can still mean losing money.
- Count the trades and the winners. Eight winners in 39 trades, one of them carrying the record, is weak evidence. What is out-of-sample testing, and how do I set one up? shows how to count the evidence.
What could change the conclusion of a comparison with holding?#
The dates. Starting just before a crash or a rally changes holding's result far more than a strategy's. Test several start and end dates, and prefer periods that include rises, falls and sideways stretches.
The risk-free rate. With a hypothetical 4% a year subtracted, holding's Sharpe ratio in example 1 falls from 2.59 to 2.47 and the strategy's from 1.78 to 1.63. The strategy, out of the market 45% of the time, would also have given up any interest its idle USDT could have earned elsewhere.
Noise. Half a year of daily returns can't separate Sharpe ratios that differ by less than about 1.4. A longer record, or several markets, gives a sharper answer.
Futures change the benchmark. Holding a USDT-settled perpetual long pays or receives funding, which Valmy's specified backtests count among costs, and leverage scales both the return and the drawdown. What does leverage change, and when is a position liquidated? explains why a drawdown can end in liquidation.
Your own behavior. A comparison on paper assumes you would have held through a 39.8% fall. If you would have sold near the bottom, your real "holding" result is worse, and a rule with a shallower drawdown may be worth more to you than its Sharpe ratio suggests.
Check your understanding: is the strategy better than holding?#
Question. Over one year, a crypto strategy's daily returns average 0.050%, with a standard deviation of 1.5%, and idle USDT earns nothing.
- What is its annualized Sharpe ratio using 365 days, and using 252?
- Roughly what return for the year do those daily figures imply once the returns compound?
- Over the same year, the strategy was invested 30% of the time and returned +15% with a maximum drawdown of 12%. Holding the asset returned +60%, and at its worst it stood 45% below its starting price. What would a portfolio holding 30% of the balance in the asset all year have returned before costs, and how far would it have fallen below its start at the worst point?
- Is the strategy's timing better than simply holding less?
Show the answers
Answer.
- Daily ratio: 0.050 ÷ 1.5 ≈ 0.0333. With 365 days: 0.0333 × 19.10 ≈ 0.64. With 252 days: 0.0333 × 15.87 ≈ 0.53. Report which one you used, and compare only like with like.
- About +15%. The balance compounds at roughly the simple average minus half the variance: 0.050% − (1.5%)² ÷ 2 ≈ 0.039% a day, and 1.00039^365 ≈ 1.15. Compounding the simple average instead, 1.0005^365 ≈ 1.20, would overstate the year at about +20%.
- The 30% mix returns about 0.3 × 60% = +18% before costs. At the asset's worst point, the mix stood 0.3 × 45% = 13.5% below its start, with the 70% in USDT unchanged.
- Not clearly. The strategy returned 3 points less than the mix (+15% against +18%). Its 12% drawdown was at least 1.5 points smaller than the mix's, since a fall of 13.5% below the start is a drawdown of at least 13.5%, and more if the asset rose first. It also paid trading costs the mix did not. Its timing may add a little protection, but the evidence is thin. A longer record, an out-of-sample test and a check of the best trade would be needed before calling it better.
Related lessons#
- Before this lesson: How do I turn something I noticed on a chart into a rule I can test?
- Next: What is out-of-sample testing, and how do I set one up?
- See also: How deep can a drawdown get, and how long does recovery take? and How much should I risk on one trade?
- See also: How much do fees and slippage change a backtest? and How much does this market usually move?
- See also: What does leverage change, and when is a position liquidated?