Kill or reset sws connection


  • Currently there is a limit of 3 connections per client code for Websocket Streaming.

    As we know, i need to reset or kill previous create sws connection any method to kill this sws connection

    I am creating one strategy per deploy each deploy create one sws connection how to close previous sws connection i am unable to store sws connection object

    please help me Its big issue for me

    I am using python for this
    I know how to unsubscribe
    but how to store sws connection object and second time api call close the previous connection

    sws.unsubscribe(correlation_id, mode, token_list)
    cl = sws.close_connection()


  • Hi @webiwork Could you provide the working python code along with your expected case so we can investigate and provide you with a solution.