fmpc_price_full_market: Current Price for an Entire Market

Description Usage Arguments Value Examples

View source: R/pricing.R

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

1
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

1
2
3
4
5
6
7
8
9
## 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)

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