How can I filter News using story text in EIKON API?

Hi

I am working on a project that requires me to filter out news story using story text. For example, I want the same results as the query R:8031.T NOT "mitsui" NOT "company limited" AND Language:LEN returns on EIKON new Monitor. How can i reproduce it in EIKON API for Python? Also, note that i am using "filter by headline and story text" in the EIKON app. Is there a way to do the same in API?

Regards

Kairav

Best Answer

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

    Filter by story text is not currently available through Eikon Data APIs. To apply a filter with the keywords to headlines only use double backslash to escape the quotes character.

    ek.get_news_headlines('R:8031.T NOT \\"mitsui\\" NOT \\"company limited\\" AND Language:LEN')

Answers