I have coded the following in Jupyter Notebook
headlines_1 = ek.get_news_headlines(query="FXBUZ AND CORRECTED", count=20, date_from=date_from_str, date_to=date_to_str)
Previously when I ran this, if the results were empty it would return and empty line. Now I get the following
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[104], line 2
1 # Retrieve CORRECTED FX Buzz comment headlines with date and time
----> 2 headlines_1 = ek.get_news_headlines(query="FXBUZ AND CORRECTED", count=20, date_from=date_from_str, date_to=date_to_str)
File ~\AppData\Local\anaconda3\Lib\site-packages\eikon\news_request.py:126, in get_news_headlines(query, count, date_from, date_to, raw_output, debug)
124 return result