Websocket for /data/news/beta1/headlines

Options

I can now call the endpoint for /data/news/beta1/headlines from my python code. In order to make it real-time, do I need other credentials or any other things to use a web socket for this endpoint?

I tried my credentials on the Python Elektron Real-Time Examples https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/EDP/python but it didn't work. I'm quite confused about what I need in order to use web socket for news to make it Real-Time, not to only get news whenever I call the endpoint.

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    @hsss:

    >> 2. The 6th part for close open subscription in the tutorial says that:
    "EDP will continue to push events into the queue, which will
    automatically expire after 24 hours if not processed." Can I know how
    should I process so that EDP won't expire after 24 hour?

    The Part 4 of tutorial explains how to poll and remove the messages from the queue. Its is the message already pushed into the queue which expire (if not removed), and not the EDP itself.

Answers