getSymbols: Load and manage market data

Description Usage Arguments Examples

Description

Function to load and manage data. Current src methods available are: yahoo, Finam, mfd, rogov, oanda, google. Current period methods available are: sec, hour, day, week, month, year.

Usage

1
getSymbols(Symbols = NULL,  from='2007-01-01', to = Sys.Date(), src = "yahoo", period = "day")

Arguments

Symbols

a character vector specifying the names of each symbol (ticker) to be loaded.

from

start date of analyzing period.

to

end date of analyzing period.

src

character string specifying sourcing method (only yahoo, Finam, mfd, rogov, oanda, google).

period

calendar periods for Finam ("tick","secs", "seconds", "mins", "hours", "days", "weeks", "months", "quarters", "years") .

Examples

1
2
3
getSymbols('GAZP',src='Finam')
getSymbols('GAZP',src='mfd')
getSymbols('a',src='rogov')

r8m/rusquant documentation built on May 26, 2019, 7:44 p.m.