From fe4d63ba750785c5a04c7a3876b096a410b0b558 Mon Sep 17 00:00:00 2001 From: JKorf Date: Sat, 1 Jun 2024 22:17:26 +0200 Subject: [PATCH] Update index.html --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index e22e3b5..e3a12b2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1393,7 +1393,7 @@ var kucoinTicker = await exchangeRestClient.Kucoin.SpotApi.ExchangeData.GetTicke Similarly as the (I)ExchangeRestClient this client allows you to access the different Websocket clients through a single access point.

For example accessing the Bitget, Kraken and OKX API's could be done like this: -

var exchangeSocketClient = new ExchangeSocketClient(); // Either construct it or inject the ExchangeSocketClient into your service
+		  
var exchangeSocketClient = new ExchangeSocketClient(); // Either construct it or inject the IExchangeSocketClient into your service
 var bitgetSub = await exchangeSocketClient.Bitget.SpotApi.SubscribeToTickerUpdatesAsync("ETHUSDT", data => {});
 var krakenSub = await exchangeSocketClient.Kraken.SpotApi.SubscribeToTickerUpdatesAsync("ETH/USD", data => {});
 var okxSub = await exchangeSocketClient.OKX.UnifiedApi.ExchangeData.SubscribeToTickerUpdatesAsync("ETH-USDT", data => {});