Description Usage Arguments Value Author(s) See Also Examples
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.
1 | getQuoteEod(symbols, exchange = NULL)
|
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 |
data frame
Mario Pisa
https://www.barchart.com/ondemand/api/getQuoteEod
1 | getQuoteEod(symbols = 'XASE:SPY')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.