Improve funding fee startup behavior

This commit is contained in:
Matthias
2023-10-13 06:45:00 +02:00
parent b76513ce33
commit 042e35e8d3

View File

@@ -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.