Skip to main content

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

NameTypeDescriptionDefaultOptional
symbolstrSymbol 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

NameTypeDescription
peers_listList[str]A list of equity peers based on sector, exchange and market cap.