View source: R/TradingHoursStockMarketHolidaysAPI.R
get_details_trading_hours_stock_market_holidays | R Documentation |
This function retrieves details trading hours, stock market holidays and symbol change history from the API.
get_details_trading_hours_stock_market_holidays(
api_token,
code,
from_date = NULL,
to_date = NULL
)
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’ |
A list containing the details trading hours, stock market holidays and symbol change history.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.