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

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

limit: int
The number of data entries to return.


Returns

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

published_date: Union[date, datetime]
Published date of the price target.

published_time: datetime.time
Time of the original rating, UTC.

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

exchange: str
Exchange where the company is traded.

company_name: str
Name of company that is the subject of rating.

analyst_name: str
Analyst name.

analyst_firm: str
Name of the analyst firm that published the price target.

currency: str
Currency the data is denominated in.

price_target: float
The current price target.

adj_price_target: float
Adjusted price target for splits and stock dividends.

price_target_previous: float
Previous price target.

previous_adj_price_target: float
Previous adjusted price target.

price_when_posted: float
Price when posted.

rating_current: str
The analyst's rating for the company.

rating_previous: str
Previous analyst rating for the company.

action: str
Description of the change in rating from firm's last rating.