# NOT RUN {
df.ohlc.hourly <- markets("btcusd")
df.ohlc.hourly2 <- markets("btcusd", list(periods = 3600, before = 1609851600,
after = 1609506000), datetime = FALSE)
df.ohlc.daily <- markets("btceur", list(periods = 86400, before = "2021-05-12",
after = "2021-01-01"), datetime = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab