Description Usage Arguments Value Examples
Calendar dates related to Economic data, IPOs, dividends, earnings, and splits
1 2 3 4 5 | fmpc_calendar_events(
calendar = "economic",
startDate = Sys.Date() - 180,
endDate = Sys.Date()
)
|
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. |
calendar events
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.