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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

james.kennedy avatar image
1 0 1 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-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonnews
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

Alex Putkov.1 avatar image
39.3k 76 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.

10 |1500

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