For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 0 0 0

How to update subscribed list of rics for the Websocket Api using python

Hi, I am using market_price_edpgw_service_discovery.py. I wanted to change already subscribed rics in the current websocket connection. Is there any pattern which I could apply?

pythonrefinitiv-realtimetreprdp-apiwebsocketsrrto
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
13k 32 12 18

Hi @adam.pawlowicz,

Please see the websocket message description in the API specification documentation bundle. You can send in a close request for your already open ID and send a new open request with a new ID anytime.

Close:

{
  "ID": 2,
  "Type": "Close"
}
icon clock
10 |1500

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

Click below to post an Idea Post Idea