BTC MARA RIOT CLSK analysis
To keep my skills sharp, I recently started looking at the online landscape for freelancers, and among all the options, Upwork was recommended as one of the best marketplaces for freelancers and clients. So I set up my account and narrowed down some projects that I found interesting and wouldn’t take too long to complete.
The project I will cover in this post, as the title indicates, involves the study of price movements between Bitcoin and three crypto mining stocks: MARA, RIOT, and CLSK.
Disclaimer: I did not work on this project with the client who posted it on Upwork. The work presented here is purely mine and for my own entertainment. The datasets are publicly available – the research is entirely my work.
1. Data Link to heading
Tickers:
- Bitcoin (BTC-USD, or BTC in short)
- MARA
- RIOT
- CLSK
Type: OHLCV data (Open, High, Low, Close, Volume).
Timeframe: from 02 January 2020 to 23 May 2024.
Frequency: daily observations.
N.B.: BTC trades 24/7 while the crypto stocks follow regular market hours, so no weekends. This means that the data for Bitcoin needs to be adjusted to not take into account weekends. I have omitted the code used for the pre-processing phase, to focus primarily on the analysis itself, but I can make it available upon request.
2. Analysis scope Link to heading
Primary analysis scope: investigate the relationship between closing price of Bitcoin and the closing price of the three crypto mining stocks. Additionally, repeat the exercise for with the (OHLC) price average of the three stocks.
Secondary analysis scope: analyse the effect of Bitcoin up days on the three stocks. Similarly, analyse the effect of Bitcoin down days on the three stocks.
N.B.: Up days mean that the Close price was higher than the Open price for that day. Vice versa, down days are the ones where the Close price was lower than the Open price. Based on the interval under analysis, there is no observation where Bitcoin was flat, it was either Up (green) or Down (red) days.
3. Analysis Link to heading
For the primary analysis, standard line and scatter plots were implemented to get a feel of the data. In Fig. 1. you can see the time series over the entire timeframe for BTC. In Fig. 2 you can see the same for the three stocks. From Figure 1. we see that BTC doesnβt really follow the same patterns as the three crypto mining stocks, while the three stocks move very closely together.
Potential scope for more research: not related to the scope of the current tasks, but the closeness of the three stocks could perhaps be modelled under a Vector Autoregressive (VAR) model, and potentially exploit anomalies via pairs or trio trading.
Following, the scatter plots in Fig. 3; Fig. 4; and Fig. 5, show a positive and weak correlation between BTC and the stocks. From the graphs we notice that all three stocks are positively correlated, yet the correlation is not strong. Repeating the exercise with the average of Open, High, Low, and Close price yields nearly identical results.
Figure 3. BTC MARA correlation
Figure 4. BTC RIOT correlation
Figure 5. BTC CLSK correlation
The weak correlation is validated in the secondary analysis where the directional impact of BTC is analysed against the crypto stocks. Before delving into the secondary analysis, I need to note that unlike BTC, the three stocks occasionally show flat days. A flat day is a day when the Open price is equal to the Close price. This will be relevant in explaining why when I compute the statistics of up/down days of the three stocks, up + down percentage doesn’t equal 100% but slightly less.
To meet the goals of the secondary analysis, I opted for a simple scoring mechanism that checks on day $ π‘ $ if Bitcoin is $ π’π (πΆπππ π>ππππ) $: check each of the stocks and note if itβs $ π’π $ or $ πππ€π (πΆπππ π<ππππ) $. If itβs not $ up $ or $ down $, then itβs $ ππππ‘ (ππππ=πΆπππ π) $.
The summary statistics have been collected in Table 1. and Table 2.
Bitcoin up days (total: 565)
Up days (%) | Down days (%) | Flat (%) | |
---|---|---|---|
MARA | 57.52 | 40.71 | 1.77 |
RIOT | 59.65 | 40 | 0.35 |
CLSK | 54.34 | 44.6 | 1.06 |
Bitcoin down days (total: 541)
Up days (%) | Down days (%) | Flat (%) | |
---|---|---|---|
MARA | 34.57 | 64.51 | 0.92 |
RIOT | 31.79 | 66.36 | 1.85 |
CLSK | 32.9 | 65.43 | 1.67 |
4. Conclusions and insights Link to heading
From Table 1. we see that the three stocks will generally follow the same direction when BTC is up. This matches what is shown in the scatter graphs, with RIOT showing the highest percentage of up days among the three. This could be interpreted as a weak BUY/LONG signal in a trading strategy.
From Table 2. we see that the three stocks will generally follow the same direction when BTC is down. Similarly to Table 1., RIOT shows the highest percentage of down days among the three stocks. This could be interpreted as a weak SELL/SHORT signal.
From the two tables above one could make the argument that when BTC is up, the three stocks are very likely going to be up but not very strongly, or in other words, there is also an abundance of days when the stocks tanked. This makes sense because there are other factors that enter stock price. On the other hand, when BTC is down, in relative terms to the up days, thereβs a stronger argument to go short on the stocks because of the wider gap between Down days (%) and Up days (%).
What about other cryptocurrencies? Link to heading
You can email me here for more coverage.
Or if you found this analysis interesting feel free to share on the social media links below.
Share on: