| rp_getOptExp | R Documentation |
Get Option Expiration Dates
rp_getOptExp(accountId, ticker, type)
accountId |
= Public Brokerage Account Number |
ticker |
= Ticker symbol: Ex. "SPY" |
type |
= Ticker Type: Ex. 'EQUITY','OPTION','MULTI_LEG_INSTRUMENT', 'CRYPTO', 'ALT','TREASURY', 'BOND', 'INDEX' |
Retrieve option expiration dates for a specific ticker symbol as a data.frame.
## Not run:
# Fetches Option Expiry Dates Available
my_acc <- rp_getAccts()
rp_getOptExp(accountId = my_acc$accountId, ticker = "TSLA", type="EQUITY")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.