ticker.dates {stocks} | R Documentation |
This function just returns the start/end dates of tickers on Yahoo! Finance, so you can see what range of dates are available for one or more funds.
ticker.dates(tickers, from = "1950-01-01", to = Sys.Date(), ...)
tickers |
Character string or vector of character strings with ticker symbols that Yahoo! Finance recognizes. |
from |
Date or character string in form of date (e.g. |
to |
Date or character string in form of date (e.g. |
... |
Arguments to pass to |
Data frame showing start date, end date, and number of trading days for each ticker.
Dane R. Van Domelen
Acknowledgment: This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE-0940903.
# See what dates are available for Apple and Amazon #ticker.dates(c("AAPL", "AMZN"))