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?

Best Answer

  • Gurpreet
    Answer ✓

    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"
    }