There are a lot of these proverbs that get thrown around the trading community like “cut your losses short, let your winners run”, “buy the dip”, “never add to a losing trade”, “don’t try to catch a falling knife” etc. Yes, intuitively they sound about right, but how much truth there really is behind them?
I don’t like such general statements without proof. Especially when money is on the line. I need statistical validation. Today I’m going to show you, that holding might not be the best option if you put in a little bit of work.
I’ll try to attack/test one of my least favorite assumptions — “Buy and Hold is the best strategy”. To do that, I’ll compare Buy and Hold (B&H from now on) returns for 25 coins with several basic strategies in different time periods:
Just so we don’t compare apples to oranges, I won’t be using any advanced strategies. I will compare B&H to simple, basic, well-known trend following strategies that require a few minutes/hours to code.
To make this comparison as fair as I possibly can, I fill analyze results in groups based on different date ranges and therefor — different market regimes. As you will see, the difficulty to beat B&H depends heavily on the market regime in that time period. It’s very difficult to beat a pure bull market that has diagonal/parabolic trajectory because it offers very few pullbacks to give any chance to beat B&H by a reasonable margin.
I will use 25 of the ~TOP50 coins. Since we need coins with at least a few years of history, we can’t use most of the hot new DeFi coins like COMP, LEND, SNX, KNC, etc.
I will use 3 different date ranges. Specific coins for each date range depend on data availability. Some will use partial range data (starting later), specified in parentheses.
Jan 2017 — July 2020
Coins used: XBT, ETH, XRP (since May 18, 2017), LTC, BCH (since Aug 1, 2017), XMR, DASH (Apr 12, 2017), ETC, ZEC, GNO (since May 1, 2017), IOT (since Jun 12, 2017), REP
Jan 2018 — July 2020
Coins used: all of the above + BNB, EOS, XLM, ADA, TRX, NEO, OMG
Jan 2019 — July 2020
Coins used: all of the above + BSV, XTZ, LINK, ONT, QTUM, QSH
I will use my implementation (except for Supertrend, which I found here) of several basic/standard trend following strategies.
All strategies will be tested with 60m candle size, except for Supertrend, which will use 1440m (1d), because I wanted to use daily ATR values.
I’ll use some reasonable/round values for period lengths and other parameters — a few days to few weeks, depending on the meaning of parameter. For example, MA crossover fast MA = days (like 5) and slow MA = weeks (like 40 days)
In parenthesis I’ve noted the name I’m using in my platform and also in charts. All strategies are long only, I’ve given small description for going long when the reverse happens, the position is closed (no shorting). For some I will use multiple parameter variations, they will show as separate strategies in charts.
Parameters used: fast MA = 5d, slow MA = 40d
Parameters used: ATR period = 5d, band multiplier = 1.5/2/2.5
Parameters used: BB period = 3d/5d, BB stddev = 2, MA = EMA/LRC/SuperSmoother
Parameters used: period = 5d/10d
Parameters used: reg period = 5d/10d/15d
Parameters used: reg period = 30d
Parameters used: MA period = 20d, slope period = 1d
I’ve uploaded strategy sources here. Since I’m no longer using Gekko platform, they will not be runnable directly but my code should give you enough idea about how to implement it in your chosen platform.
Before we dive into results, I just want to give a quick context on how the market was performing over my chosen periods, so we have a better feeling about what we are comparing against. I’ll plot BTC and ETH price lines, they represent the overall market pretty well.
I won’t dive into 2017 too much, we all know how it went — pure ecstasy mixed with some gut-wrenching pullbacks well over 30%.
2018 started as “last chance to get BTC under 20K, moon inevitable”, but soon turned into one bull trap after another, until the market eventually lost hope and went into depression and on its way to inevitable 0 (as the general public was thinking at the moment).
2019 started with a nice solid uptrend that went on almost half a year when the parabolic trend was broken and huge volatility came in and we saw some difficult market. After that, it calmed down and we started to see a slow and stable downtrend, except for a weird flash pump at the end of October.
Start of 2020 resembled the start of 2019 very much — a strong and solid trend was forming that looked unstoppable just before it wasn’t. COVID fears settled in and after a few smaller dumps, on March 12 it all came crashing down to long-unseen lows (BTC under 4000, etc). What looked like the start of the end of the World, Markets, and Crypto, turned out to be the absolute low, at least (hopefully) for now. While everyone was waiting for the next dump and everything turning to 0, the bottom was already in and one of the strongest trends was starting to form. A lot of people were calling it a Bull Trap, but somewhere around the start of May things started to look real. Not long after that BTC broke the huge emotional barrier of 10K again just to come crashing down a day later to start one of the most boring Crypto months we’ve ever seen. Then, just when it looked like this was over and a huge dump is in the cards, BTC sliced through the 10K like it was nothing and never looked back.
Let’s start with the most recent date range. As we all know, this was the awakening after a long and dark winter that went throughout 2018. Holding was good here, a lot of coins showed good jumps from their 2018 lows. On average (considering the 25 coins I used for this range) B&H returns were 80%. BTC returned 147%, ETH 72%, meanwhile XRP was down 50%. Also, we had some mooners like XTZ (400%+) and LINK (770%+).
NOTE: I started with charting all coins separately but realized it’s hard to compare, so I’ll show averages over all coins in the chart. I’ve uploaded all the runs I made in Github repo, so if you want a more detailed inspection of results, I suggest to throw this into Google Sheets and do some grouping/pivots of your own.
Here are the average returns (over all coins) of all strategies tested:
Ok, so from 41 strategies/combos that I tested:
Pretty conclusive if you ask me.
NOTE: Please don’t take away from this that LRC is better than EMA or SuperSmoother is the best MA or anything like that. You could try another slow/fast combination like 5d/20d and come up with another “best” MA. Comparisons like that are useless.
For those of you who want a bit more detailed picture, here is a stacked version (by coins), so you can see which coins added the most to returns (as expected, those were the big gainers — XTZ, LINK, BNB, etc). BTW chart is total returns, not average.
There are 2 big outliers with amazing B&H returns —XTZ (>400%) and LINK (>770%) and they skew the averages in their favor. Let’s filter them out and see if we get a different picture (for non-stacked).
AVG returns drop from 80% to 30% and overall strategy dominance over B&H increases noticeably.
This is one of the most painful periods for B&H you can pick (except for pure 2018 Jan — Dec) for comparison. You bought at the absolute top, soon everything was deeply red and there was no hope in sight until the start of Jan 2019.
As expected, everything beats B&H (-72%):
Overall, looks like MA Crossover is showing the best results while BB Breakout is the most consistent.
Here is the stacked chart:
This is where I though B&H would shine. Such simple strategies shouldn’t be able to beat one of the best markets this world has ever seen with such heavy tailwind, right? You basically bought at the absolute bottom and saw at least 10x gains in first year. Well …
Most of the strategies are heavily outperforming B&H. x2 — x3 on average overall.
As we can see, ETH dominates returns so heavily that it makes all the other coins and results way less significant. Let’s take a look at results without ETH, that could change picture (non-stacked).
Turns out it doesn’t change much, filtering out ETH only increases the dominance over B&H a bit. Yes, the AVG returns are smaller (of course), but the proportions of the bars are very very similar to the chart above.
Here is the stacked version.
Results so far are pretty conclusive, but I wanted to take this a bit further and test 2 extremes:
Let’s start with King of Bull. I expect B&H to shine here and outperform most of the strategies …
… and it does. Well here you go — B&H dominates here. Best strategies are close (2000% B&H vs ~1500%), but most are significantly below. Outperforming such diagonal/parabolic market is difficult, especially with basic strategies. Sometimes it’s best just to sit back, relax and enjoy that gift. Just remember that every bull market ends, and the end might be very sharp and painful, especially in Crypto.
This is where anything should be better than B&H. Most coins are down more than 90%.
And it turns out as expected. B&H down 80% on average, almost all strategies are doing significantly better. But sadly none are profitable. Best are close to 0% returns.
Let’s take a look at drawdown for these strategies.
It’s unacceptable. 70–80%. No sane person would trade anything that has even close to 50% expected drawdown in just a few years of backtests. Plus in reality, it’s usually considerably worse than in tests. These strategies could (and should) be improved with some regime detection and filters. But that’s for another story.
Here’s a quick look at trade frequency (vs returns). Average is somewhere around 1 trade per week, with range being 0.5–2 trades per week. Pretty low frequency. Not that it’s bad, but could be boring for some.
Of course, don’t take away from this that single MA cross strategies trade more often than MA Crossover. This isn’t absolute, trade frequency can be easily increased/reduced by changing period values.
This correlates nicely with what I’ve said multiple times before in my previous posts — when talking about simple long term trend following strategies, lower trade frequency usually results in more returns. It could result in more overfitting also, but that’s another story.
After writing all this I realized — some might say that 3.5 years is nothing, B&H only outperforms when looking at decades of data. Well, I can’t really offer you that, but I can take max amount of data that I have:
For other coins, I don’t have much earlier than already tested 2017. Overall, the sample size is too small (2 coins), so I probably wouldn’t draw too much conclusions from this. Also, not sure there is much point in testing such once in a lifetime 1000x market, but ok, here it goes:
Other than that, I’ll leave this up to you to analyze.
Logical question is — why isn’t everyone doing this? I’ll skip the point that so many people don’t even know what the backtesting is and are running strategies that should be avoided if only the trader would’ve run few tests that would clearly show that strategy is a long term loser.
Other than that, there are several serious problems. Most of them boil down to psychological factors — these strategies are hard to endure.
I think B&H has several problems that are based on some wrong assumptions Hodlers have:
So, to answer my initial thesis — Is B&H the best? Based on what I’ve seen running my tests and what I’ve shown in my charts, the answer is a decisive no. But, I’ll be honest, the trade frequency of tested strategies is a bit on the low side and makes me suspicious about how well this would perform out of the sample. Nevertheless, strategies and parameters were chosen reasonably and with minimal hindsight, which makes me hopeful.
Statistically, over time, chances are you will outperform B&H in Crypto with basic low frequency trend following strategies. Why? My best guess is that market isn’t as effective yet and so far has shown very trendy behavior, either up or down, which suits trend following strategies very well. At one point, this will end, and then answer to my initial thesis might change.
I’m trying to show you that instead of wearing the HODL badge of honor if you care about results, there are other very simple alternatives.
People hear phrases like “95% of traders lose money” and automatically assume that all trading is bad and markets can not be outperformed. Well, that might be more true for more mature and effective markets but doesn’t look like it’s the case yet in Crypto.
Bottom line and my biggest suggestion to you is — before taking any of the mantras for granted, do some basic testing and idea validation and come up with your own conclusions. Have some statistical evidence to guide your trading decisions. So the odds are ever in your favor.
Best of Luck!
Previously published at https://medium.com/@deandree/is-buy-and-hold-really-the-best-strategy-in-crypto-4ae0e8c77734