# NOT RUN {
Sys.setenv(tz = "UTC")
poloniex.public <- PoloniexPublicAPI()
pair <- "BTC_NXT"
from <- as.POSIXct("2017-02-01 00:00:00 UTC")
to <- as.POSIXct("2017-02-02 00:00:00 UTC")
trades.data <- ReturnTradeHistory(theObject = poloniex.public,
pair = pair,
from = from,
to = to)
# }
Run the code above in your browser using DataLab