From cd6fc1652ed8d3406e3905ef73f96e9ae658ed14 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 6 Aug 2023 17:11:17 +0200 Subject: [PATCH] Add rate-limited wallets call before adjust_trade-Position calls closes #8998 --- freqtrade/freqtradebot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 9d35aee0f..beca1f09c 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -613,6 +613,8 @@ class FreqtradeBot(LoggingMixin): for trade in Trade.get_open_trades(): # If there is any open orders, wait for them to finish. if trade.open_order_id is None: + # Do a wallets update (will be ratelimited to once per hour) + self.wallets.update(False) try: self.check_and_call_adjust_trade_position(trade) except DependencyException as exception: