Kucoin | Subscribe WebSocket Channel

Kucoin offers a variety of channels where you can subscribe to get real-time updates of market data, orders... Find below a sample of how to subscribe to a Ticker:


TsgcWebSocketClient oClient = new TsgcWebSocketClient();
TsgcWSAPI_Kucoin oKucoin = new TsgcWSAPI_Kucoin();
oKucoin.Client = oClient;
oKucoin.SubscribeSymbolTicker("BTC-USDT");	
void OnMessage(TsgcWSConnection Connection, const string aText)
{
// here you will receive the ticker updates
}