get_bulk_eod_splits_dividends_data {eodhd}R Documentation

Get bulk fundamentals data

Description

This function retrieves bulk fundamentals data from the API.

Usage

get_bulk_eod_splits_dividends_data(
  api_token,
  country = "US",
  type = NULL,
  date = NULL,
  symbols = NULL,
  filter = NULL
)

Arguments

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’

Value

A list containing bulk fundamentals data.

Examples

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)


[Package eodhd version 1.0.4 Index]