peers
Get the closest peers for a given company.
Peers consist of companies trading on the same exchange, operating within the same sector and with comparable market capitalizations.
Examples
from openbb import obb
obb.equity.compare.peers(symbol='AAPL', provider='fmp')
Parameters
- standard
- fmp
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Symbol to get data for. | False |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Symbol to get data for. | False |
Returns
OBBject
results : List[EquityPeers]
Serializable results.
provider : Optional[Literal['fmp']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
Data
- standard
- fmp
Name | Type | Description |
---|---|---|
peers_list | List[str] | A list of equity peers based on sector, exchange and market cap. |
Name | Type | Description |
---|---|---|
peers_list | List[str] | A list of equity peers based on sector, exchange and market cap. |