diff --git a/src/Binance/Extensions/BinanceHttpClientExtensions.cs b/src/Binance/Extensions/BinanceHttpClientExtensions.cs index ced495da..19851e59 100644 --- a/src/Binance/Extensions/BinanceHttpClientExtensions.cs +++ b/src/Binance/Extensions/BinanceHttpClientExtensions.cs @@ -103,7 +103,7 @@ await client.RateLimiter.DelayAsync(token: token) /// /// /// - /// Valid values: [5, 10, 20, 50, 100, 500, 1000] (default: 100). + /// Valid values: [5, 10, 20, 50, 100, 500, 1000, 5000] (default: 100). /// /// public static async Task GetOrderBookAsync(this IBinanceHttpClient client, string symbol, int limit = default, CancellationToken token = default) @@ -114,7 +114,11 @@ public static async Task GetOrderBookAsync(this IBinanceHttpClient clien if (client.RateLimiter != null) { await client.RateLimiter - .DelayAsync(limit >= 1000 ? 10 : limit >= 500 ? 5 : 1, token) + .DelayAsync(limit >= 10000 ? 100 + : limit >= 5000 ? 50 + : limit >= 1000 ? 10 + : limit >= 500 ? 5 + : 1, token) .ConfigureAwait(false); }