Skip to main content

price_target

Get analyst price targets by company.

Examples

from openbb import obb
obb.equity.estimates.price_target(provider='benzinga')
# Get price targets for Microsoft using 'benzinga' as provider.
obb.equity.estimates.price_target(start_date=2020-01-01, end_date=2024-02-16, limit=10, symbol='msft', provider='benzinga', action=downgrades)

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): benzinga, finviz, fmp.NoneTrue
limitintThe number of data entries to return.200True

Returns

OBBject
results : List[PriceTarget]
Serializable results.

provider : Optional[Literal['benzinga', 'finviz', 'fmp']]
Provider name.

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

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
published_dateUnion[date, datetime]Published date of the price target.
published_timedatetime.timeTime of the original rating, UTC.
symbolstrSymbol representing the entity requested in the data.
exchangestrExchange where the company is traded.
company_namestrName of company that is the subject of rating.
analyst_namestrAnalyst name.
analyst_firmstrName of the analyst firm that published the price target.
currencystrCurrency the data is denominated in.
price_targetfloatThe current price target.
adj_price_targetfloatAdjusted price target for splits and stock dividends.
price_target_previousfloatPrevious price target.
previous_adj_price_targetfloatPrevious adjusted price target.
price_when_postedfloatPrice when posted.
rating_currentstrThe analyst's rating for the company.
rating_previousstrPrevious analyst rating for the company.
actionstrDescription of the change in rating from firm's last rating.