getYFHistPrices: Returns Historical Prices in a data.frame Fields: Date,...

Description Usage Arguments Examples

View source: R/getYF_functions.R

Description

Returns Historical Prices in a data.frame Fields: Date, volume, close, adjclose

Usage

1
getYFHistPrices(tickers, range, periodicity, block = 10, slp = 10)

Arguments

tickers

set of tickers

range

character Valid Ranges: 1y, 2y, 5y, 10y, ytd, max

periodicity

character Valid Intervals: 1d, 1wk, 1mo

block

'integer' After each block the query stops slp seconds. Default = 10

slp

'integer' Number os seconds to sleep after each block. Default = 10

Examples

1
getYFHistPrices(c("UNA.AS", "G.MI", "BMED.MI", "wrongticker","VOW3.DE", "PUM.DE"), "1y", "1mo")

gabifoix/YHFinR documentation built on March 27, 2021, 9:41 p.m.