td_marketHours | R Documentation |
Returns a list output for current day and specified market that details the trading window
td_marketHours(
marketType = c("EQUITY", "OPTION", "BOND", "FUTURE", "FOREX"),
accessToken = NULL
)
marketType |
The asset class to pull: 'EQUITY','OPTION','BOND','FUTURE','FOREX'. Default is EQUITY |
accessToken |
A valid Access Token must be set using
|
List output of times and if the current date is a trading day
## Not run:
# Access Token must be set using td_auth_accessToken
# Market hours for the current date
td_marketHours()
td_marketHours('2020-06-24', 'OPTION')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.