Daily Security Prices

fmp_daily_prices(symbol, start_date = NULL, end_date = NULL, last_n = NULL)

Arguments

symbol

character. A vector of stock symbols.

start_date

character. ISO-8601 formatted date. For example, '2020-05-25'

end_date

character. ISO-8601 formatted date. For example, '2020-06-25'

last_n

numeric. An alternative to start_date and end_date. return the last n days

Value

a tibble of quotes of requested securities

Examples

# \donttest{

# last 100 days of Apple stock prices
d <- fmp_daily_prices('AAPL', last_n = 100)
# }