fmpc_calendar_events: Dates related to Economic data, IPOs, dividends, earnings,...

Description Usage Arguments Value Examples

View source: R/calendar.R

Description

Calendar dates related to Economic data, IPOs, dividends, earnings, and splits

Usage

1
2
3
4
5
fmpc_calendar_events(
  calendar = "economic",
  startDate = Sys.Date() - 180,
  endDate = Sys.Date()
)

Arguments

calendar

indicate which calendar to view. Options include 'ipo', 'stock_split', 'stock_dividend', 'earning',or 'economic'

startDate

filter start date in yyyy-mm-dd format.

endDate

filter end date in yyyy-mm-dd format.

Value

calendar events

Examples

1
2
3
4
5
6
7
8
## Not run: 

# Must set a valid API token
fmpc_set_token('FMPAPIKEY')
fmpc_calendar_events('stock_split')
fmpc_calendar_events('economic')

## End(Not run)

fmpcloudr documentation built on March 2, 2021, 1:06 a.m.