Bitcoin Forum
May 22, 2024, 06:24:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: R code to create charts for monthly/daily returns & hourly heatmaps  (Read 83 times)
JH-BTC (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 27, 2020, 09:37:59 PM
 #1

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!