m.partners.benzinga.ratings¶
Analyst rating and price-target actions on US stocks, as reported by Benzinga.
Call it from a session m, made with dm.MassiveSession():
m.partners.benzinga.ratings(symbols=None, *, sort=None, order=None, limit=None, filters=None, on_error=None)
- Methods:
fetch(),poll(interval) - Read from: REST
poll()by default:dm.PollMode.REPLACE, which holds only the latest poll's rows, one row perBenzingaId
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
US stock tickers. Leave it out for every ticker; dm.ALL is refused. |
sort |
Any field of the rows, such as "date". Fields: any REST field under Massive fields. |
order |
The direction of sort. |
limit |
The most rows to return, in total. A watchlist's fetch() caps every request instead. |
filters |
Further endpoint parameters, such as {"rating_action": "upgrades"}. Keys: benzinga_analyst_id, benzinga_analyst_id_any_of, benzinga_analyst_id_gt, benzinga_analyst_id_gte, benzinga_analyst_id_lt, benzinga_analyst_id_lte, benzinga_firm_id, benzinga_firm_id_any_of, benzinga_firm_id_gt, benzinga_firm_id_gte, benzinga_firm_id_lt, benzinga_firm_id_lte, benzinga_id, benzinga_id_any_of, benzinga_id_gt, benzinga_id_gte, benzinga_id_lt, benzinga_id_lte, date, date_any_of, date_gt, date_gte, date_lt, date_lte, importance, importance_gt, importance_gte, importance_lt, importance_lte, last_updated, last_updated_gt, last_updated_gte, last_updated_lt, last_updated_lte, price_target_action, price_target_action_any_of, price_target_action_gt, price_target_action_gte, price_target_action_lt, price_target_action_lte, rating_action, rating_action_any_of, rating_action_gt, rating_action_gte, rating_action_lt, rating_action_lte, ticker_gt, ticker_gte, ticker_lt, ticker_lte. |
on_error |
What a bad symbol or row does in this call (dm.ErrorPolicy). None, the default, takes each cause from the session's MassiveConfig.on_error. |
Plans¶
How recent the data is on each of Massive's plans, and how far back its history goes, as Massive's pages state them.
| Plan | Analyst Ratings (REST) |
|---|---|
| Benzinga Analyst Ratings | Updated in real time, All history |
| Benzinga Analyst Ratings Business | Updated in real time, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The row's instrument, as Massive's ticker. From REST ticker: "The stock symbol of the company being rated." |
AdjustedPriceTarget |
double | The current price target adjusted for stock splits and dividends. |
Analyst |
String | The name of the individual analyst who issued the rating. |
BenzingaAnalystId |
String | The identifier used by Benzinga for this analyst. |
BenzingaCalendarUrl |
String | A link to the Benzinga calendar page for this ticker |
BenzingaFirmId |
String | The identifier used by Benzinga for this firm. |
BenzingaId |
String | The identifier used by Benzinga for this record. |
BenzingaNewsUrl |
String | A link to the Benzinga articles page for this ticker |
CompanyName |
String | The name of the company being rated. |
Currency |
String | The ISO 4217 currency code in which the price target is denominated. |
Date |
String | The calendar date (formatted as YYYY-MM-DD) when the rating was issued. |
Firm |
String | The name of the research firm or investment bank issuing the rating. |
Importance |
long | A subjective indicator of the importance of the event, on a scale from 0 (lowest) to 5 (highest). |
LastUpdated |
Instant | The timestamp (formatted as an ISO 8601 timestamp) when the rating was last updated in the system. |
Notes |
String | Additional context or commentary. |
PreviousAdjustedPriceTarget |
double | The previous price target adjusted for stock splits and dividends. |
PreviousPriceTarget |
double | The previous price target set by the analyst. |
PreviousRating |
String | The previous rating set by the analyst. |
PricePercentChange |
double | The percentage change in price target if price target and previous price target exists |
PriceTarget |
double | The current price target set by the analyst. |
PriceTargetAction |
String | The description of the directional change in price target. Possible values include: raises, lowers, maintains, announces, sets. |
Rating |
String | The current rating set by the analyst. |
RatingAction |
String | The description of the change in rating from the firm's last rating. Possible values include: downgrades, maintains, reinstates, reiterates, upgrades, assumes, initiates_coverage_on, terminates_coverage_on, removes, suspends, firm_dissolved. |
Time |
String | The time (formatted as 24-hour HH:MM:SS UTC) when the rating was issued. |
TimestampInsert |
Instant | When the library received the row, by the local clock. Rows that arrive together share it. It isn't Massive's time, and later rows can carry earlier times. In a poll() table, it's the time of the poll the row's values came from. |
Massive fields
The Massive field behind each column, by source. An empty cell means the source doesn't carry the column, or the library computes it.
| Column | REST field |
|---|---|
Symbol |
ticker |
AdjustedPriceTarget |
adjusted_price_target |
Analyst |
analyst |
BenzingaAnalystId |
benzinga_analyst_id |
BenzingaCalendarUrl |
benzinga_calendar_url |
BenzingaFirmId |
benzinga_firm_id |
BenzingaId |
benzinga_id |
BenzingaNewsUrl |
benzinga_news_url |
CompanyName |
company_name |
Currency |
currency |
Date |
date |
Firm |
firm |
Importance |
importance |
LastUpdated |
last_updated |
Notes |
notes |
PreviousAdjustedPriceTarget |
previous_adjusted_price_target |
PreviousPriceTarget |
previous_price_target |
PreviousRating |
previous_rating |
PricePercentChange |
price_percent_change |
PriceTarget |
price_target |
PriceTargetAction |
price_target_action |
Rating |
rating |
RatingAction |
rating_action |
Time |
time |
TimestampInsert |
Massive's documentation¶
The plan tables and most column descriptions are Massive's, from its documentation as fetched on 2026-12-01, with a few corrected where Massive's are wrong. The library writes its own descriptions of the columns it names or computes, such as Symbol and TimestampInsert.