Get the whole price histories of indices, kept on disk and brought up to date
Source:R/fct_data.R
index_histories.RdFor an index not kept yet, the whole history is downloaded,
from its from day when it has one, and kept on disk (see
disk_cache()). A kept history more than an hour old is brought up to date
with its last two weeks, which also replace the kept days of those weeks, in
case Yahoo Finance corrected them; when that fails, the kept history is
used. The downloads of all the indices run at the same time (see
download_histories()).
Arguments
- indices
Rows of
get_indices().
Value
A list with an element per row: the whole price history of the
index, or NULL when it could not be downloaded.
Examples
if (FALSE) { # \dontrun{
golemstockindices:::index_histories(get_indices()[1:3, ])
} # }