50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

rusquant (version 1.1.4)

getSymbols.Poloniex: Get financial data from Poloniex

Description

This function retrieves financial data from Poloniex.

Usage

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,
  ...
)

Value

A list of xts objects if auto.assign is TRUE, otherwise a single xts object.

Arguments

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.

Author

Vyacheslav Arbuzov

Examples

Run this code
getSymbols.Poloniex('BTC_USDT')
#getSymbols('BTC_USDT',src='Poloniex')

Run the code above in your browser using DataLab