View source: R/BulkForEodSplitsDividendsAPI.R
get_bulk_eod_splits_dividends_data | R Documentation |
This function retrieves bulk fundamentals data from the API.
get_bulk_eod_splits_dividends_data(
api_token,
country = "US",
type = NULL,
date = NULL,
symbols = NULL,
filter = NULL
)
api_token |
The API token for authentication. |
country |
<- 'US' |
type |
<- can be empty, splits or dividends |
date |
By default, the data for last trading day will be downloaded, but if you need any specific date, add ‘date’ parameter to the URL |
symbols |
To download last day data for several symbols, for example, for MSFT and AAPL, you can add the ‘symbols’ parameter |
filter |
If you need more data, like company name, you can use ‘&filter=extended’ |
A list containing bulk fundamentals data.
api_token <- "demo"
country <- 'US'
type <- 'splits'
date <- "2010-09-21"
symbols <- "MSFT"
filter <- "extended"
result <- get_bulk_eod_splits_dividends_data(api_token, country, type, date, symbols, filter)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.