From f33857768bcec2ba8eaf28f9537d8dc27ba52d8f Mon Sep 17 00:00:00 2001 From: JKorf Date: Wed, 14 Feb 2024 21:24:10 +0100 Subject: [PATCH] Update index.html --- docs/index.html | 101 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/docs/index.html b/docs/index.html index a143113..e17ad5b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2547,6 +2547,107 @@ var result = await huobiClient.SpotApi.Trading.PlaceOrderAsync(account.Id, "BTCU + Subscribe Ticker Updates
+

Subscribe to the websocket ticker update stream

+
+
+
+
+
+
+
+
+ + +
+
+
await binanceSocketClient.SpotApi.ExchangeData.SubscribeToTickerUpdatesAsync("ETHUSDT", data => {
+    // Handle update
+});
+
+
+
await bitfinexSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("tETHUST", data => {
+    // Handle update
+});
+
+
+
await bitgetSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETHUSDT", data => {
+    // Handle update
+});
+
+
+
await bybitSocketClient.V5SpotApi.SubscribeToTickerUpdatesAsync("ETHUSDT", data => {
+    // Handle update
+});
+
+
+
await coinExSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETHUSDT", data => {
+    // Handle update
+});
+
+
+
await huobiSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ethusdt", data => {
+    // Handle update
+});
+
+
+
await krakenSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETHUSD", data => {
+    // Handle update
+});
+
+
+
await kucoinSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH-USDT", data => {
+    // Handle update
+});
+
+
+
await mexcSocketClient.SpotApi.SubscribeToMiniTickerUpdatesAsync("ETHUSDT", data => {
+    // Handle update
+});
+
+
+
await okxSocketClient.UnifiedApi.ExchangeData.SubscribeToTickerUpdatesAsync("ETHUSDT", data => {
+    // Handle update
+});
+
+
+
+
+
+
+
+ Minimal API

A minimal API example allowing the caller to retrieve ticker information for a specific exchange and asset pair