Bitcoin Forum

Economy => Speculation => Topic started by: JH-BTC on February 27, 2020, 09:37:59 PM



Title: R code to create charts for monthly/daily returns & hourly heatmaps
Post by: JH-BTC on February 27, 2020, 09:37:59 PM
I have published some code for R and data to allow traders to create thheir own charts and heatmaps.

The data from CoinMetrics, TradingView and CryptoDataDownload to look at seasonality trends in bitcoin (check it out here: https://medium.com/interdax/seasonality-in-bitcoin-examining-almost-a-decade-of-price-data-abf47b1421cb).

The data/code is availablle on GitHub: https://github.com/jsholmes7/BTC-seasonality-analysis

With this code and by using your own data, you can create your own charts: returns by month, returns by day of the week, hourly heatmaps for price changes, volatility and candle body ratio.

You could use this code to look at trends in any crypto pair, from any exchange, over any timeframe and time period you want. You'd have to amend the code slightly to account for the name of your file and so on, but it wouldn't be too difficult.