get_historical_splits_data: Get historical splits data

View source: R/HistoricalSplitsAPI.R

get_historical_splits_dataR 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)


eodhd documentation built on May 29, 2024, 2:46 a.m.