View source: R/HistoricalSplitsAPI.R
get_historical_splits_data | R Documentation |
This function retrieves historical splits data from the API.
get_historical_splits_data(api_token, ticker, date_from = NULL, date_to = NULL)
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 |
A list containing historical splits data.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.