Use ek.get_news_headlines() or ek.send_json_request() to get broker research headlines?

I am wondering if it is possible to retrieve broker research reports' headlines by using Python API. For example, ADSGn.DE announced Q1 result yesterday, and at Eikon Desktop, by specifying the source to News Wires, I can see the below:

image

However, when I hit ek.get_news_headlines() in Python, it give me back:

imagewhere, a report by Jefferies is skipped. I wish the headline to appear in the row of index = 1.

Is there any way of making the skipped broker research headline show up in retrieved news headlines? I tried to use ek.send_json_request("News_Headlines", {}), but it did not solve my issue.

Could anyone help me how to get it done? Thank you!


Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @iwasaki,

    The source of this headline is research, RSCH. I do not believe research is supported for retrieval as news source by Eikon Data API, not the matter of get_news_headline vs raw json request.

    But I am not permissioned for RSCH on Eikon either, i.e search expression

    R:ADSGn.DE AND Source:RSCH

    does not yield result on Eikon News search for me, either.

    To be fully sure, you can test

    ek.get_news_headlines(query="R:ADSGn.DE AND Source:CNBC", date_from='2020-01-01T02:00:00', date_to='2020-04-28T18:20:00',  count=100)

    and

    ek.get_news_headlines(query="R:ADSGn.DE AND Source:RSCH", date_from='2020-01-01T02:00:00', date_to='2020-04-28T18:20:00',  count=100)

    on your side.

Answers

  • iwasaki
    iwasaki Explorer

    Hi Zoya,

    Thank you for suggestion, and unfortunately, when I run

    ek.get_news_headlines(query="R:ADSGn.DE AND Source:RSCH", date_from='2020-01-01T02:00:00', date_to='2020-04-28T18:20:00', count=100)

    it returns an empty DataFrame, suggesting that retrieval of broker reports' headlines is not supported by Eikon Data API regardless of entitlements.

    Despite somewhat disappointing conclusion, I appreciate your insight.!