The getQuoteEod API is used to request end-of-day price data from world-wide exchanges using exchange MIC codes.
Parameter | Description | Data Type |
---|---|---|
exchange | The list of valid exchange codes to limit symbol search. | |
fields | The fields requested. | |
symbols | 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 root_symbol0 for the active contract or root_symbol1 for the first nearby is supported, as is root_symbol^F for all futures contracts for a given root symbol, as is root_symbol^O for all options contracts for a given underlying futures symbol. If no country code or MIC is passed then the API will behave the same as the getQuote API. |
Field | Description | Data Type |
---|---|---|
ask | The current ask price. | double |
askSize | The size (quantity) of the current ask price. | int |
bid | The current bid price. | double |
bidSize | The size (quantity) of the current bid price. | int |
close | The last traded price for the session. | double |
datasource | Where the data is coming from: Exchange Date or Barchart. | string |
date | The price date. | date |
high | The highest traded price for the session. | double |
low | The lowest traded price for the session. | double |
name | The type of symbol used. | string |
open | The opening (first) price for the session. | double |
symbol | An symbol or code that identifies a financial instrument. | string |
totaltrades | int | |
volume | The quantity of shares or contracts traded. | int |
From market data feeds to website content solutions and trading software to our flagship financial portal, Barchart.com, and individual subscription services, Barchart is the definitive source for comprehensive financial data and information.