Enter a market to get last traded price with additional price metrics such as 50D and 200D avg price, volume, shares outstanding, etc. This does NOT include a quote, such as bid/ask detail. Each market will return multiple responses, but only one API call as made per market.
fmpc_price_full_market(market = "etf")
market | Select a market to get current price for all securities: 'etf','commodity','euronext','nyse','amex','tsx','index','mutual_fund', 'nasdaq','crypto','forex'. Select a single market. |
---|
data frame of current price
if (FALSE) { fmpc_set_token('FMPAPIKEY') fmpc_price_full_market('index') fmpc_price_full_market('forex') fmpc_price_full_market() # Default is to 'etf' }