Learn R Programming

eodhd (version 1.0.4)

get_details_trading_hours_stock_market_holidays: 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
)

Value

A list containing the details trading hours, stock market holidays and symbol change history.

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’

Examples

Run this code
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)

Run the code above in your browser using DataLab