Upgrade from Eikon -> Workspace. Learn about programming differences.

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
21.8k 57 14 21

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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