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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

get_news_headlines date range not returning results

My query for Tesla news deadlines within a specific date range isn't working - the code is copied from the python quants NLP tutorial, so it should work.

https://developers.refinitiv.com/content/eikon-data-api-python-quants-tutorial-10-nlp-i-news-text-analysis

ek.get_news_headlines('R:TSLA.O PRODUCTION',

date_from = '2018-02-15',

date_to = '2018-03-16',

count = 5)

Calling just headlines without the date range returns results so my connect to Eikon data isn't the problem

ek.get_news_headlines('R:TSLA.O PRODUCTION', count = 10)

Anyone have any ideas why this call isn't working?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonnews
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
39.2k 75 11 27

News headlines history available through Eikon Data APIs spans rolling last 15 months. The date range you specify in your request is outside of the available date range.

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