get_historical_market_capitalization_data {eodhd} | R Documentation |
Get stock market tick data
Description
This function retrieves stock market tick data from the API.
Usage
get_historical_market_capitalization_data(
api_token,
ticker,
from_date = NULL,
to_date = NULL
)
Arguments
api_token |
The API token for authentication. |
ticker |
is the ticker code and it consists of two parts: SYMBOL_NAME.EXCHANGE_ID |
from_date |
Format: YYYY-MM-DD. |
to_date |
Format: YYYY-MM-DD. |
Value
A list containing the stock market tick data.
Examples
api_token <- "demo"
from_date <- "2017-09-10"
to_date <- "2017-09-12"
ticker <- "AAPL"
result <- get_historical_market_capitalization_data(api_token, ticker, from_date, to_date)
[Package eodhd version 1.0.4 Index]