How to get the firm and Previous/Current ratings with Analyst Ratings provider?
Author: Panache
Creation Date: 10/2/2016 2:31 AM
profile picture

Panache

#1
If I add
CODE:
Please log in to see this code.
to the PrintDebug statement in the sample code in the wiki, I can see the 1 and -1's after each rating.

The wiki says, "Each rating comes with extra details attached: the firm (analyst, the previous and the current ratings." How do I get this additional information?

profile picture

Eugene

#2
The missing piece of the puzzle is called from and to. Thanks for pointing to a shortcoming of the Wiki example; I've just updated it. These properties accompany the "firm" like this:

CODE:
Please log in to see this code.
profile picture

Eugene

#3
The Yahoo! Analyst Ratings provider will be decommissioned in June 2017 and replaced by MarketBeat Analyst Ratings provider. Code above is defunct; see actual code example on the Wiki page (when ready).
profile picture

Eugene

#4
The MarketBeat analyst ratings provider has been released.

* Online user guide in the Wiki
* Direct installation link
profile picture

Eugene

#5
I've just discovered that Yahoo's new web page grabs up to almost 20 years worth of anlayst ratings data for a stock internally but displays only the last five or so items for whatever reason. That'd be a mistake to lose such as an extensive source of fundamental items.

The Yahoo! Analyst Ratings provider will be rebuilt and available in v2017.07 of the library.