Last traded price with additional price metrics such as 50D and 200D avg price, volume, shares outstanding, and more. This does NOT include a quote, such as bid/ask detail.
fmpc_price_current(symbols = c("AAPL"))
symbols | one or more symbols from the FMP available list that can be
found using |
---|
data frame of current price details
if (FALSE) { # Setting API key to 'demo' allows for AAPL only fmpc_set_token() fmpc_price_current('AAPL') # For multiple symbols, set a valid API Token fmpc_set_token('FMPAPIKEY') fmpc_price_current(c('AAPL', 'MSFT', 'TSLA', 'SPY', 'BTCUSD', 'JPYUSD', '^SP500TR')) }