schwab_marketHours | R Documentation |
Returns a list output for current day and specified market that details the trading window
schwab_marketHours(
marketType = c("EQUITY", "OPTION", "BOND", "FUTURE", "FOREX"),
date = Sys.Date(),
accessTokenList = NULL
)
marketType |
The asset class to pull: 'EQUITY','OPTION','BOND','FUTURE','FOREX'. Default is EQUITY |
date |
Current or future date to check hours |
accessTokenList |
A valid Access Token must be set using the output from
|
List output of times and if the current date is a trading day
## Not run:
# Access Token must be set using schwab_auth3_accessToken
# Market hours for the current date
schwab_marketHours()
schwab_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.