mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Improve funding fee startup behavior
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user