fmpc_symbols_by_market: Get available symbols across markets

Description Usage Arguments Value Warning Examples

View source: R/marketInfo.R

Description

Pulls all symbols available on FMP Cloud that has historical pricing data. Markets can include equities, mutual funds, commodities, indexes, and more.

Usage

1
fmpc_symbols_by_market(market = "all")

Arguments

market

select one or more markets to pull available symbols. options include: 'all', 'etf', 'commodity', 'euronext', 'nyse',' amex', 'tsx', 'index', 'mutual_fund', 'nasdaq', 'crypto', 'forex'

Value

a data frame of pricing, split, and dividend history

Warning

Running 'all' generates 11 API calls

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# A valid token must be set to use this function
fmpc_set_token('FMPAPIKEY')
fmpc_symbols_by_market(market = c('index','commodity'))
fmpc_symbols_by_market() # default will pull all markets


## End(Not run)

fmpcloudr documentation built on March 2, 2021, 1:06 a.m.