getQuoteEod: getQuoteEod Barchart data.

Description Usage Arguments Value Author(s) See Also Examples

Description

getQuoteEod returns an data frame The getQuoteEod API is used to request end-of-day price data, by combined exchange and symbol, on stocks, indexes, mutual funds, ETFs, futures, foreign exchange, or cryptocurrencies. Historical data is available as tick, minute bars or end-of-day data.

Usage

1
getQuoteEod(symbols, exchange = NULL)

Arguments

symbols

required; An MIC code or a Country code plus the symbol or code that identifies a financial instrument. Multiple symbols separated by a comma may be used. For futures, notation such as for the active contract or for the first nearby is supported, as is for all futures contracts for a given root symbol. If no country code or MIC is passed then the API will behave the same as the getQuote API. Example XASE:SPY,US:IBM

exchange

optional; The list of valid exchange codes to limit symbol search. Example NYSE,AMEX

Value

data frame

Author(s)

Mario Pisa

See Also

https://www.barchart.com/ondemand/api/getQuoteEod

Examples

1
getQuoteEod(symbols = 'XASE:SPY')

mariope/RBarchart documentation built on June 24, 2019, 9:47 p.m.