get_details_trading_hours_stock_market_holidays {eodhd} | R Documentation |
Get details trading hours, stock market holidays and symbol change history
Description
This function retrieves details trading hours, stock market holidays and symbol change history from the API.
Usage
get_details_trading_hours_stock_market_holidays(
api_token,
code,
from_date = NULL,
to_date = NULL
)
Arguments
api_token |
The API token for authentication. |
code |
Use the exchange code from the API endpoint |
from_date |
the format is ‘YYYY-MM-DD’ |
to_date |
the format is ‘YYYY-MM-DD’ |
Value
A list containing the details trading hours, stock market holidays and symbol change history.
Examples
api_token <- "demo"
code <- "US"
from_date <- "2017-09-10"
to_date <- "2017-09-12"
result <- get_details_trading_hours_stock_market_holidays(api_token, code, from_date, to_date)
[Package eodhd version 1.0.4 Index]