fmp_daily_prices: Daily Security Prices

Description Usage Arguments Value Examples

View source: R/fmp-prices.R

Description

Daily Security Prices

Usage

1
2
3
4
5
6
7
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

...

additional parameters

Value

a tibble of quotes of requested securities

Examples

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

jpiburn/fmpapi documentation built on Aug. 20, 2021, 12:51 a.m.