question

Upvotes
Accepted
1 0 2 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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apinews
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
39.4k 78 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 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.