get_historical_splits_data {eodhd}R Documentation

Get historical splits data

Description

This function retrieves historical splits data from the API.

Usage

get_historical_splits_data(api_token, ticker, date_from = NULL, date_to = NULL)

Arguments

api_token

The API token for authentication.

ticker

consists of two parts: [SYMBOL_NAME].[EXCHANGE_ID].

date_from

date from with format Y-m-d

date_to

date from with format Y-m-d

Value

A list containing historical splits data.

Examples

api_token <- "demo"
ticker <- "AAPL.US"
date_from <- "2017-09-10"
date_to <- "2017-09-12"
result <- get_historical_splits_data(api_token, ticker, date_from, date_to)


[Package eodhd version 1.0.4 Index]