R/marketInfo.R
fmpc_symbols_index.Rd
Shows current or historical companies in the S&P 500, Nasdaq, or Dow Jones
'current' for current list, 'historical' for a list of companies that have been added and the ones that were replaced
indicate the index to pull for: sp500, dowjones, nasdaq
data frame of constituents
if (FALSE) {
# Must set a valid API token
fmpc_set_token('FMPAPIKEY')
fmpc_symbols_index()
fmpc_symbols_index('historical','nasdaq')
}