var binanceRestClient = new BinanceRestClient(opts =>
+{
+ opts.RequestTimeout = TimeSpan.FromSeconds(30);
+});
+
+
+
var client = new BingXRestClient(opts =>
{
opts.RequestTimeout = TimeSpan.FromSeconds(30);
});
@@ -1556,6 +1651,9 @@ options.ApiCredentials = new ApiCredentials("YOUR PUBLIC KEY", "YOUR PRIVATE KEY
Binance
+
+ BingX
+
Bitfinex
@@ -1594,6 +1692,13 @@ options.ApiCredentials = new ApiCredentials("YOUR PUBLIC KEY", "YOUR PRIVATE KEY
options.RequestTimeout = TimeSpan.FromSeconds(30);
});
var client = new BinanceRestClient();
+
+
+
BingXRestClient.SetDefaultOptions(options =>
+{
+ options.RequestTimeout = TimeSpan.FromSeconds(30);
+});
+var client = new BingXRestClient();
BitfinexRestClient.SetDefaultOptions(options =>
@@ -1846,6 +1951,9 @@ var client = new OKXRestClient();
Binance
+
+ BingX
+
Bitfinex
@@ -1884,6 +1992,19 @@ if (!startResult.Success)
}
// Book has successfully started and synchronized
+// Once no longer needed you can stop the live sync functionality by calling StopAsync()
+await book.StopAsync();
+
+
+
+
var book = new BingXSpotSymbolOrderBook("ETH-USDT");
+var startResult = await book.StartAsync();
+if (!startResult.Success)
+{
+ // Handle error, error info available in startResult.Error
+}
+// Book has successfully started and synchronized
+
// Once no longer needed you can stop the live sync functionality by calling StopAsync()
await book.StopAsync();