From 042e35e8d3b3531e4cd57f8d55b2f3c473aaa65d Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 13 Oct 2023 06:45:00 +0200 Subject: [PATCH] Improve funding fee startup behavior --- freqtrade/freqtradebot.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 97e3cdb21..b6ab24529 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -199,7 +199,7 @@ class FreqtradeBot(LoggingMixin): # Only update open orders on startup # This will update the database after the initial migration self.startup_update_open_orders() - # self.update_funding_fees() + self.update_funding_fees() def process(self) -> None: """ @@ -379,9 +379,6 @@ class FreqtradeBot(LoggingMixin): logger.warning(f"Error updating Order {order.order_id} due to {e}") - if self.trading_mode == TradingMode.FUTURES: - self._schedule.run_pending() - def update_trades_without_assigned_fees(self) -> None: """ Update closed trades without close fees assigned.