The getCompetitors API provides a list of related stock symbols (competitors) for an underlying stock input.
Parameter | Description | Data Type |
---|---|---|
fields | The fields requested. | |
maxRecords | The maximum number of records to show in the return. | |
symbol | A 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. |
Field | Description | Data Type |
---|---|---|
exchange | Exchange code for the marketplace where the financial instruments are listed. | string |
fiftyTwoWkHigh | The highest price over the past 52 weeks. | double |
fiftyTwoWkHighDate | The date in which the high price was reached over the past 52 weeks. | date |
fiftyTwoWkLow | The low price over the past 52 weeks. | double |
fiftyTwoWkLowDate | The date in which the low price was reached over the past 52 weeks. | date |
marketCap | The quantity of shares or contracts traded. | int |
name | The full name of the instrument. | string |
symbol | A symbol or code that identifies a financial instrument. | string |
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.