This function retrieves financial data from Poloniex.
getSymbols.Poloniex(
Symbols,
env,
return.class = "xts",
index.class = "Date",
from = "2007-01-01",
to = Sys.Date(),
adjust = FALSE,
period = "day",
verbose = TRUE,
auto.assign = FALSE,
...
)
A list of xts objects if auto.assign
is TRUE, otherwise a single xts object.
A character vector with the ticker symbols to retrieve data for.
The environment where to create the variables. Default is the current environment.
The class to return. Default is xts.
The class for the index column. Default is Date.
Start date of the data. Default is '2007-01-01'.
End date of the data. Default is Sys.Date().
Logical. Adjust the prices. Default is FALSE.
The period for the candle data. Default is 'day'.
Logical. Print progress messages. Default is TRUE.
Logical. Assign data to the environment. Default is FALSE.
Additional arguments to be passed to functions.
Vyacheslav Arbuzov
getSymbols.Poloniex('BTC_USDT')
#getSymbols('BTC_USDT',src='Poloniex')
Run the code above in your browser using DataLab