powered by
Time series of Bitcoin closing prices from 31 December 2015 to 31 December 2019 (1044 values). This permits the calculation of 4 calendar years of returns.
data(bitcoin)
An object of class "xts".
"xts"
data(bitcoin) plot(bitcoin) X <- (diff(log(bitcoin))[-1]) * 100 plot(X)
Run the code above in your browser using DataLab