Skip to main content

Price Target Consensus


Implementation details​

Class names​

Model nameParameters classData class
PriceTargetConsensusPriceTargetConsensusQueryParamsPriceTargetConsensusData

Import Statement​

from openbb_core.provider.standard_models.price_target_consensus import (
PriceTargetConsensusData,
PriceTargetConsensusQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): tmx, yfinance.False
providerLiteral['fmp', 'tmx', 'yfinance']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.fmpTrue

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.