fmpc_calendar_events {fmpcloudr}R Documentation

Dates related to Economic data, IPOs, dividends, earnings, and splits

Description

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

Usage

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


## Not run: 

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

## End(Not run)

[Package fmpcloudr version 0.1.5 Index]