I'm trying to unsubscribe from a HUOBI websocket server but the server is keep sending me the datas. I contacted to support but so far there is no news. Is there anyone who is achieved to unsubscribe?
As far as I checked from their API, this is what should I send for unsubscription.
console.log("Unsubscribing Huobi for symbol: " + symbol)
ws.send(JSON.stringify({
"unsub": `market.${symbol}.ticker`,
"id": `${symbol}`
}));
And this is how I subscribed;
console.log("Subscribing Huobi for symbol: " + symbol)
ws.send(JSON.stringify({
"sub": `market.${symbol}.ticker`,
"id": `${symbol}`
}));