Bitcoin Bull Run
In my previous blog post I've looked at the outcome of investing in ETFs using leverage and what the returns and drawdowns would have been over the last 15 years.
In this blog post I will do the same but with a focus on cryptocurrencies. Specifically, I'm interested to see what effect leverage has when investing into the top 10 cryptocurrencies during a bull run.
I picked the start date of this study to be 2017-12-01 - the middle of the last crypto bull run. To avoid survivorship bias, I'm only picking crypto currencies that were in the top 10 at the specified date.
The full snapshot of cryptocurrencies ordered by market cap on 2017-12-01 is availabe on CoinMarketCap
I will examine buying and holding crypto with 1:1, 1:2, and 1:5 leverage.
val initialInvestment: Double = 10_000.0
val startDate = LocalDateTime.of(2017, 12, 1, 0, 0,0)
val leverage: Double = 1.0
val data = loader.download(ticker).dropWhile { it.datetime.isBefore(startDate) }
val closePrices = data.map { it.close.toDouble() }
val equity = closePrices.asReturns().equityCurve(initialInvestment, leverage = leverage)
val drawdown = equity.drawdown()
chart("Buy and hold - ${ticker.tickerName} - Leverage: 1:${leverage}") {
panel(height = 300) {
xylinechart { closePrices.toXYSeries("${ticker.ticker} Price") }
}
panel(height = 300) {
xylinechart { equity.toXYSeries("Equity") }
}
panel(height = 200) {
xylinechart { drawdown.toXYSeries("Drawdown") }
}
panel(height = 200) {
xylinechart { drawdown.longestDrawdown().toXYSeries("Longest drawdown") }
}
}
Pair | Leverage | Return | Maximum Drawdown | Longest drawdown period (days) |
---|---|---|---|---|
BTC-USD | 1:1 | 513% | -83% | 1076 |
BTC-USD | 1:2 | 251% | -99% | 1179 |
BTC-USD | 1:5 | 0% | -100% | 1188 |
- | ||||
ETH-USD | 1:1 | 379% | -94% | 1112 |
ETH-USD | 1:2 | 31% | -100% | 1160 |
ETH-USD | 1:5 | 0% | -100% | 1160 |
- | ||||
BCH-USD | 1:1 | 36% | -98% | 1184 |
BCH-USD | 1:2 | 0% | -100% | 1184 |
BCH-USD | 1:5 | 0% | -100% | 1184 |
- | ||||
XRP-USD | 1:1 | 198% | -96% | 1166 |
XRP-USD | 1:2 | 2% | -100% | 1166 |
XRP-USD | 1:5 | 0% | -136% | 1166 |
- | ||||
DASH-USD | 1:1 | 28% | -97% | 1184 |
DASH-USD | 1:2 | 0% | -100% | 1184 |
DASH-USD | 1:5 | 0% | -100% | 1184 |
- | ||||
LTC-USD | 1:1 | 197% | -93% | 1186 |
LTC-USD | 1:2 | 8% | -100% | 1186 |
LTC-USD | 1:5 | 0% | -100% | 1186 |
- | ||||
BTG-USD | 1:1 | 10% | -99% | 1184 |
BTG-USD | 1:2 | 0% | -100% | 1184 |
BTG-USD | 1:5 | 0% | -117% | 1184 |
- | ||||
MIOTA-USD | 1:1 | 95% | -98% | 1185 |
MIOTA-USD | 1:2 | 0% | -100% | 1185 |
MIOTA-USD | 1:5 | 0% | -124% | 1196 |
- | ||||
ADA-USD | 1:1 | 899% | -98% | 1139 |
ADA-USD | 1:2 | 33% | -100% | 1169 |
ADA-USD | 1:5 | 0% | -100% | 1169 |
- | ||||
ETC-USD | 1:1 | 39% | -92% | 1184 |
ETC-USD | 1:2 | 0% | -100% | 1184 |
ETC-USD | 1:5 | 0% | -148% | 1184 |
The picture is bleak. Making a buy-and-hold investment during a crypto bull run using leverage is a guaranteed way to lose most if not all money invested.
Using no leverage performs a lot better, but still comes with huge drawdowns of over 90%.
Even using no leverage, out of 10 investments, 5 have returned less than we originally invested. Sometimes by a large amount. ETC left us with 39% of the original stake, BTG with 5%, DASH with 28% and BCH left us with 36% of the original $10,000 investment.
On the bright side, investing in an equal weighted crypto portfolio of the top 10 coins would have doubled the stake despite all losers.
We look at the effect of investing in the top 10 cryptos during a bear market.
Trading with leverage can be risky because gains and losses are magnified. This post explores the magnitude in change of gains and losses.
We know that avoiding the best trading days has a huge negative impact on our returns, but what happens if we could avoid the worst trading days?
The source code for a custom MT 4 Keltner Channel indicator
Risk Disclosure:
Trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones' financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.
Hypothetical Performance Disclosure:
Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. For example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.
© AlgoGen 2021 All rights reserved.