getSymbols.Poloniex: Get financial data from Poloniex

getSymbols.PoloniexR Documentation

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

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.

Value

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

Note

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.

Author(s)

Vyacheslav Arbuzov

Examples

getSymbols.Poloniex('BTC_USDT')
#getSymbols('BTC_USDT',src='Poloniex')


rusquant documentation built on Sept. 30, 2024, 9:42 a.m.