Michael Kane
Yale University
https://cointelegraph.com/news/15-amazing-things-you-can-buy-with-bitcoin-today
https://cointelegraph.com/news/15-amazing-things-you-can-buy-with-bitcoin-today
https://cointelegraph.com/news/15-amazing-things-you-can-buy-with-bitcoin-today
https://cryptocoincharts.info/markets/info
> library(bittrex)
> bt_getmarketsummary("BTC-ETH")
$success
[1] TRUE
$message
[1] ""
$result
market_name high low volume last base_volume
1 BTC-ETH 0.07779196 0.076 8840.273 0.07637027 681.4346
time_stamp bid ask open_buy_orders open_sell_orders
1 2018-06-01 18:18:33 0.07630321 0.07637027 3303 5164
prev_day created
1 0.07679785 2015-08-14 09:02:24
# Visualize the usd/btc orderbook in R
library(bittrex)
library(dplyr)
library(ggplot2)
bt_getorderbook("usdt-btc")$result %>%
filter(rate < 2.5e4, rate > 5e3) %>%
ggplot(aes(x=rate, fill=type)) +
geom_histogram(bins = 40) +
theme_minimal() +
xlab("Price") +
ylab("Total Order Size") +
ggtitle("Price of BTC in USDT")