From 4b6ecbfc79b51a5a8e747be687d2e7bd700ee0d6 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 10 May 2022 10:46:48 -0400 Subject: [PATCH] Bring binance requests down to 3/sec; seems faster? --- piker/brokers/binance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/binance.py b/piker/brokers/binance.py index 5b6a3da6..bac81bb0 100644 --- a/piker/brokers/binance.py +++ b/piker/brokers/binance.py @@ -402,7 +402,7 @@ async def open_history_client( end_dt = pendulum.from_timestamp(array[-1]['time']) return array, start_dt, end_dt - yield get_ohlc, {'erlangs': 4, 'rate': 4} + yield get_ohlc, {'erlangs': 3, 'rate': 3} async def backfill_bars(