Skip to content

m.partners.benzinga.consensus_ratings

The consensus of analyst ratings and price targets for each US stock, from Benzinga.

Call it from a session m, made with dm.MassiveSession():

m.partners.benzinga.consensus_ratings(symbols, *, 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 per Symbol

Dataset index

Arguments

A linked argument follows its rule under shared arguments on the dataset index.

Argument Description
symbols US stock tickers. dm.ALL is refused; pass a list of tickers.
filters The range of the ratings to count, such as {"date_gte": "2026-01-01"}; leave it out to count every rating. Keys: date, date_any_of, date_gt, date_gte, date_lt, date_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 Consensus Ratings (REST)
Benzinga Analyst Ratings Updated every 2 hours, All history
Benzinga Analyst Ratings Business Updated every 2 hours, All history

Columns

Column Type Description
Symbol String The row's instrument, as Massive's ticker. From REST ticker: "The requested ticker."
BuyRatings long The count of 'Buy' ratings from contributing analysts.
ConsensusPriceTarget double The average price target across all analysts, rounded to 2 decimal places.
ConsensusRating String The overall rating category determined by the average consensus weight. Possible values: 'strong_buy', 'buy', 'hold', 'sell', 'strong_sell'.
ConsensusRatingValue double The numerical average of all consensus weights, rounded to 2 decimal places. Scale ranges from 1 (Strong Sell) to 5 (Strong Buy).
HighPriceTarget double The highest price target among all contributing analysts.
HoldRatings long The count of 'Hold' ratings from contributing analysts.
LowPriceTarget double The lowest price target among all contributing analysts.
PriceTargetContributors long The number of unique analysts contributing price targets.
RatingsContributors long The number of unique analysts contributing to the overall ratings consensus.
SellRatings long The count of 'Sell' ratings from contributing analysts.
StrongBuyRatings long The count of 'Strong Buy' ratings from contributing analysts.
StrongSellRatings long The count of 'Strong Sell' ratings from contributing analysts.
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
BuyRatings buy_ratings
ConsensusPriceTarget consensus_price_target
ConsensusRating consensus_rating
ConsensusRatingValue consensus_rating_value
HighPriceTarget high_price_target
HoldRatings hold_ratings
LowPriceTarget low_price_target
PriceTargetContributors price_target_contributors
RatingsContributors ratings_contributors
SellRatings sell_ratings
StrongBuyRatings strong_buy_ratings
StrongSellRatings strong_sell_ratings
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.