Currently, when it is needed to reconnect to websocket, i am sending a "unsubscribe" to all the scrips subscribed previously and then sending the "subscribe" to the websocket.
Wondering if "first unsubscribe then subscribe" is the right thing to do ?
Ok, this situation happens sometimes within the course for the day. If internet conection from one provider goes down, connection is switched to another internet provider.
Ok, so, if the websocket is "close"d without "unsubscrib"ing and connected again after a few seconds (through another internet provider), and again a "subscribe" is sent, would the same scrips be subscribed twice ? Would the same quote for the same scrips be transmitted twice ?