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?

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    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.