getSymbols.Mfd: Get financial data from Mfd.ru

getSymbols.MfdR Documentation

Get financial data from Mfd.ru

Description

This function retrieves financial data from Mfd.ru

Usage

getSymbols.Mfd(
  Symbols,
  env = globalenv(),
  from = "2007-01-01",
  to = Sys.Date(),
  adjust = FALSE,
  period = "day",
  verbose = TRUE,
  auto.assign = FALSE,
  ...
)

Arguments

Symbols

character vector of symbols to retrieve

env

environment where the data will be assigned

from

a character string representing the starting date in 'YYYY-MM-DD' format. Default is '2007-01-01'.

to

a character string representing the ending date in 'YYYY-MM-DD' format. Default is the current system date.

adjust

a logical specifying whether to adjust for dividends and stock splits. Default is FALSE.

period

a character string specifying the period of the data to retrieve. Must be one of 'tick', '1min', '5min', '10min', '15min', '30min', 'hour', 'day', 'week', or 'month'. Default is 'day'.

verbose

a logical specifying whether to print progress messages. Default is TRUE.

auto.assign

a logical specifying whether to automatically assign the retrieved data to the symbols specified in the Symbols argument. Default is FALSE.

...

additional arguments passed to getSymbols.Mfd

Value

If auto.assign is TRUE, the function returns the Symbols argument with the retrieved data assigned to each symbol. If auto.assign is FALSE, the function returns an 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


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