ticker_dates: Get Yahoo! Finance Start/End Dates for Tickers

Description Usage Arguments Value Examples

View source: R/ticker_dates.R

Description

Useful for figuring out a time period over which to compare several funds.

Usage

1
ticker_dates(tickers, from = "1950-01-01", to = Sys.Date())

Arguments

tickers

Character vector with ticker symbols that Yahoo! Finance recognizes.

from

Date or character string (e.g. "2015-01-15".

to

Date or character string (e.g. "2016-01-30").

Value

Data frame with start and end dates for each fund.

Examples

1
2
3
4
5
## Not run: 
# See what dates are available for AAPL and AMZN
ticker_dates(c("AAPL", "AMZN"))

## End(Not run)

vandomed/stocks documentation built on July 22, 2020, 3:25 a.m.