Skip to main content

consensus

Price Target Consensus. Price target consensus data.

Example​

from openbb import obb
obb.equity.estimates.consensus(symbol="AAPL")

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for.False
providerLiteral['fmp']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default."fmp"True

Returns​

OBBject
results : List[PriceTargetConsensus]
Serializable results.

provider : Optional[Literal['fmp']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

metadata: Optional[Metadata]
Metadata info about the command execution.

Data​

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
target_highfloatHigh target of the price target consensus.
target_lowfloatLow target of the price target consensus.
target_consensusfloatConsensus target of the price target consensus.
target_medianfloatMedian target of the price target consensus.