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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Python code needed to filter news related to FX in English language only

The code user is typing is:

# getting the news

news_curr = ek.get_news_headlines(ftr, # + 'AND Language:LEN',

date_from=date_from,

date_to=date_to,

count=100)


Which comes back with zero results. Please assist.

python api
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.

1 Answer

Upvotes
Accepted
13k 32 12 18

Hi @waleed.al-bayyari

What is the ftr, date_from and date_to in the query? It is obviously an incorrect combination or invalid query. They can try something like this -

ek.get_news_headlines("FX IN ENGLISH", count=10)


For content questions, please direct users to raise a service ticker at my.refinitiv.com. We have little content knowledge.



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