fmpc_security_mrktcap {fmpcloudr}R Documentation

Pull market capitalization

Description

Provides current and historical market cap for one or more securities

Usage

fmpc_security_mrktcap(symbols = c("AAPL"), limit = 100)

Arguments

symbols

one or more symbols from the FMP available list that can be found using fmpc_symbols_available. A valid API token must be set in order to enable functionality. See documentation for setting a token under fmpc_set_token.

limit

limit results for each ticker

Value

data frame of ratings data

Examples



## Not run: 

# Demo can pull AAPL
fmpc_set_token()
fmpc_security_mrktcap('AAPL')

# For multiple symbols, set a valid API Token
fmpc_set_token('FMPAPIKEY')
fmpc_security_mrktcap(c('AAPL','MSFT','SPY'))


## End(Not run)


[Package fmpcloudr version 0.1.5 Index]