rp_getAllInstruments | R Documentation |
Get All Instruments
rp_getAllInstruments(
typeFilter = NULL,
tradingFilter = NULL,
fractionalTradingFilter = NULL,
optionTradingFilter = NULL,
optionSpreadTradingFilter = NULL
)
typeFilter |
= (Optional) Ex. "BOND","EQUITY","CRYPTO","INDEX","ALT" |
tradingFilter |
= (Optional) Ex. "BUY_AND_SELL","DISABLED","LIQUIDATION_ONLY" |
fractionalTradingFilter |
= (Optional) Ex. "DISABLED","BUY_AND_SELL","LIQUIDATION_ONLY" |
optionTradingFilter |
= (Optional) Ex. "DISABLED","BUY_AND_SELL","LIQUIDATION_ONLY" |
optionSpreadTradingFilter |
= (Optional) Ex. "DISABLED","BUY_AND_SELL","LIQUIDATION_ONLY" |
Retrieves all available trading instruments with optional filtering capabilities as a data.frame
.
## Not run:
# Fetches All Instruments From Public
all_inst <- rp_getAllInstruments()
# Fetches All equities enabled for trading fractional shares
all_frac <- rp_getAllInstruments(typeFilter = "EQUITY",
tradingFilter = 'BUY_AND_SELL',
fractionalTradingFilter = 'BUY_AND_SELL')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.