fmpc_price_full_market {fmpcloudr} | R Documentation |
Current Price for an Entire Market
Description
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.
Usage
fmpc_price_full_market(market = "etf")
Arguments
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. |
Value
data frame of current price
Examples
## Not run:
fmpc_set_token('FMPAPIKEY')
fmpc_price_full_market('index')
fmpc_price_full_market('forex')
fmpc_price_full_market() # Default is to 'etf'
## End(Not run)
[Package fmpcloudr version 0.1.5 Index]