Skip to main content

consensus

Get consensus price target and recommendation.

Examples

from openbb import obb
obb.equity.estimates.consensus(symbol='AAPL', provider='fmp')
obb.equity.estimates.consensus(symbol='AAPL,MSFT', provider='yfinance')

Parameters

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): fmp, intrinio, tmx, yfinance.


Returns

results: list[PriceTargetConsensus]

Serializable results.

provider: Optional[Literal['fmp', 'intrinio', 'tmx', 'yfinance']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

symbol: str
Symbol representing the entity requested in the data.

name: str
The company name

target_high: float
High target of the price target consensus.

target_low: float
Low target of the price target consensus.

target_consensus: float
Consensus target of the price target consensus.

target_median: float
Median target of the price target consensus.