From 426d6b8ad47eab029958aa5b82cfcbe83d77f679 Mon Sep 17 00:00:00 2001 From: DampflokTV Date: Mon, 22 Feb 2021 22:42:41 +0100 Subject: [PATCH] Update ExchangeBinanceAPI.cs Binance has a max recWindow of 60 seconds --- ExchangeSharp/API/Exchanges/Binance/ExchangeBinanceAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExchangeSharp/API/Exchanges/Binance/ExchangeBinanceAPI.cs b/ExchangeSharp/API/Exchanges/Binance/ExchangeBinanceAPI.cs index 5c56fa5df..0bf4aa762 100644 --- a/ExchangeSharp/API/Exchanges/Binance/ExchangeBinanceAPI.cs +++ b/ExchangeSharp/API/Exchanges/Binance/ExchangeBinanceAPI.cs @@ -62,7 +62,7 @@ private string GetWebSocketStreamUrlForSymbols(string suffix, params string[] sy public ExchangeBinanceAPI() { // give binance plenty of room to accept requests - RequestWindow = TimeSpan.FromMinutes(15.0); + RequestWindow = TimeSpan.FromMinutes(1); NonceStyle = NonceStyle.UnixMilliseconds; NonceOffset = TimeSpan.FromSeconds(10.0); SymbolSeparator = string.Empty;