Price Target
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
PriceTarget | PriceTargetQueryParams | PriceTargetData |
Import Statement
from openbb_core.provider.standard_models.price_target import (
PriceTargetData,
PriceTargetQueryParams,
)
Parameters
- Standard
- benzinga
- fmp
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. | False | |
| limit | int | The number of data entries to return. | 100 | True |
| provider | Literal['benzinga', 'fmp'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'benzinga' if there is no default. | "benzinga" | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. | False | |
| limit | int | The number of data entries to return. | 100 | True |
| provider | Literal['benzinga', 'fmp'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'benzinga' if there is no default. | "benzinga" | True |
| fields | str | Comma-separated list of fields to include in the response. See https://docs.benzinga.io/benzinga-apis/calendar/get-ratings to learn about the available fields. | None | True |
| date | str | Date for calendar data, shorthand for date_from and date_to. | None | True |
| date_from | str | Date to query from point in time. | None | True |
| date_to | str | Date to query to point in time. | None | True |
| importance | int | Importance level to filter by. | None | True |
| updated | int | Records last updated Unix timestamp (UTC). | None | True |
| action | Literal['Downgrades', 'Maintains', 'Reinstates', 'Reiterates', 'Upgrades', 'Assumes', 'Initiates Coverage On', 'Terminates Coverage On', 'Removes', 'Suspends', 'Firm Dissolved'] | Filter by a specific action_company. | None | True |
| analyst | str | Comma-separated list of analyst (person) IDs. | None | True |
| firm | str | Comma-separated list of analyst firm IDs. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. | False | |
| limit | int | The number of data entries to return. | 100 | True |
| provider | Literal['benzinga', 'fmp'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'benzinga' if there is no default. | "benzinga" | True |
| with_grade | bool | Include upgrades and downgrades in the response. | False | True |
Data
- Standard
- benzinga
- fmp
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| published_date | datetime | Published date of the price target. |
| news_url | str | News URL of the price target. |
| news_title | str | News title of the price target. |
| analyst_name | str | Analyst name. |
| analyst_company | str | Analyst company. |
| price_target | float | Price target. |
| adj_price_target | float | Adjusted price target. |
| price_when_posted | float | Price when posted. |
| news_publisher | str | News publisher of the price target. |
| news_base_url | str | News base URL of the price target. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| published_date | datetime | Published date of the price target. |
| news_url | str | News URL of the price target. |
| news_title | str | News title of the price target. |
| analyst_name | str | Analyst name. |
| analyst_company | str | Analyst company. |
| price_target | float | Price target. |
| adj_price_target | float | Adjusted price target. |
| price_when_posted | float | Price when posted. |
| news_publisher | str | News publisher of the price target. |
| news_base_url | str | News base URL of the price target. |
| action_company | Literal['Downgrades', 'Maintains', 'Reinstates', 'Reiterates', 'Upgrades', 'Assumes', 'Initiates Coverage On', 'Terminates Coverage On', 'Removes', 'Suspends', 'Firm Dissolved', ''] | Description of the change in rating from firm's last rating.Note that all of these terms are precisely defined. |
| action_pt | Literal['Announces', 'Maintains', 'Lowers', 'Raises', 'Removes', 'Adjusts', ''] | Description of the change in price target from firm's last price target. |
| adjusted_pt_prior | str | Analyst's prior price target, adjusted to account for stock splits and stock dividends. If none are applicable, the pt_prior value is used. |
| analyst_id | str | Id of the analyst. |
| currency | str | Currency the data is denominated in. |
| exchange | str | Exchange of the price target. |
| id | str | Unique ID of this entry. |
| importance | Literal[0, 1, 2, 3, 4, 5] | Subjective Basis of How Important Event is to Market. 5 = High |
| notes | str | Notes of the price target. |
| pt_prior | str | Analyst's prior price target. |
| rating_current | str | The analyst's rating for the company. |
| rating_prior | str | Prior analyst rating for the company. |
| ratings_accuracy | str | Ratings accuracy of the price target. |
| time | str | Last updated timestamp, UTC. |
| updated | int | Last updated timestamp, UTC. |
| url | str | URL for analyst ratings page for this ticker on Benzinga.com. |
| url_calendar | str | URL for analyst ratings page for this ticker on Benzinga.com. |
| name | str | Name of company that is subject of rating. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| published_date | datetime | Published date of the price target. |
| news_url | str | News URL of the price target. |
| news_title | str | News title of the price target. |
| analyst_name | str | Analyst name. |
| analyst_company | str | Analyst company. |
| price_target | float | Price target. |
| adj_price_target | float | Adjusted price target. |
| price_when_posted | float | Price when posted. |
| news_publisher | str | News publisher of the price target. |
| news_base_url | str | News base URL of the price target. |
| new_grade | str | New grade |
| previous_grade | str | Previous grade |
| grading_company | str | Grading company |