Description Usage Arguments Details Value
Get daily time series from Stooq for indicated tickers
1 2 3 4 5 6 | lGetDailyDataForTickersFromStooq(
cTickers,
dateStartDate,
dateEndDate,
bAddTickerToColnames = TRUE
)
|
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 |
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:
list of data.tables; each member of the list corresponds to one ticker symbol in input vector cTickers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.