getSymbols.Poloniex | R Documentation |
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,
...
)
Symbols |
A character vector with the ticker symbols to retrieve data for. |
env |
The environment where to create the variables. Default is the current environment. |
return.class |
The class to return. Default is xts. |
index.class |
The class for the index column. Default is Date. |
from |
Start date of the data. Default is '2007-01-01'. |
to |
End date of the data. Default is Sys.Date(). |
adjust |
Logical. Adjust the prices. Default is FALSE. |
period |
The period for the candle data. Default is 'day'. |
verbose |
Logical. Print progress messages. Default is TRUE. |
auto.assign |
Logical. Assign data to the environment. Default is FALSE. |
... |
Additional arguments to be passed to functions. |
A list of xts objects if auto.assign
is TRUE, otherwise a single xts object.
Not for the faint of heart. All profits and losses related are yours and yours alone. If you don't like it, write it yourself.
Vyacheslav Arbuzov
getSymbols.Poloniex('BTC_USDT')
#getSymbols('BTC_USDT',src='Poloniex')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.