I am trying to add/update list of subscribed symbol programmatically, I am failing to do so once I initiated the socket connection, then there is no way either update the list of subscribed symbol or not to stop the first connection and create the second one with updated list.
I am running the connection on a separate thread to send the update of my symbol to kafka for further processing.
Is there any way to update the list of subscribed symbol? Looking for suggestions.