lGetDailyDataForTickersFromStooq: Get daily data from Stooq

Description Usage Arguments Details Value

View source: R/Functions.R

Description

Get daily time series from Stooq for indicated tickers

Usage

1
2
3
4
5
6
lGetDailyDataForTickersFromStooq(
  cTickers,
  dateStartDate,
  dateEndDate,
  bAddTickerToColnames = TRUE
)

Arguments

cTickers

- character vector of ticker symbols;

dateStartDate

- Date class scalar, points at the first day of the interval for which the data should be fetched

dateEndDate

- Date class scalar, points at the last day of the interval for which the data should be fetched

bAddTickerToColnames

- logical scalar, indicates whether the ticker should be added as prefix to the non-Date columns names of the columns of the data set retrieved from Stooq. Deault: TRUE

Details

This function allows for fetching historical time series of DAILY prices for by tickers from free online database at https://stooq.com/. Remark re handling of the wrong ticker symbols passed inside cTickers:

Value

list of data.tables; each member of the list corresponds to one ticker symbol in input vector cTickers


wegar-2/okeanos.stooq documentation built on March 16, 2021, 12:08 a.m.