From 0a51006da28dff56d68bc3a126128a1c8ba98033 Mon Sep 17 00:00:00 2001 From: Axel-CH Date: Thu, 28 Nov 2024 22:27:07 -0400 Subject: [PATCH] update process_open_trade_positions to handle position adjustment for initial entry order (before filling) --- freqtrade/freqtradebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index ace21fe8c..a27f003c4 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -729,7 +729,7 @@ class FreqtradeBot(LoggingMixin): for trade in Trade.get_open_trades(): # If there is any open orders, wait for them to finish. # TODO Remove to allow mul open orders - if trade.has_open_position: + if trade.has_open_position or trade.has_open_orders: # Do a wallets update (will be ratelimited to once per hour) self.wallets.update(False) try: