From 245a67e37e16dfdcdd3efb941a6294b110a10dff Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 9 Sep 2023 09:55:01 +0200 Subject: [PATCH] Avoid tons of commits when cancelling all orders --- freqtrade/freqtradebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 8e2388877..26bb95257 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1451,7 +1451,7 @@ class FreqtradeBot(LoggingMixin): self.handle_cancel_exit( trade, order, open_order.order_id, constants.CANCEL_REASON['ALL_CANCELLED'] ) - Trade.commit() + Trade.commit() def handle_cancel_enter( self, trade: Trade, order: Dict, order_id: str,