For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
32 0 2 3

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:

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

where, 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!


eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
1588041291832.png (73.4 KiB)
1588041095574.png (26.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
23k 22 9 14

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
32 0 2 3

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.!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea