From f290ff5c9aa68c06fc162a463097fc34b1fd8594 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 12 Oct 2021 19:10:38 +0200 Subject: [PATCH] Re-add schedule.run_pending --- freqtrade/freqtradebot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 88b26115e..ddb4b148f 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -203,7 +203,8 @@ class FreqtradeBot(LoggingMixin): # Then looking for buy opportunities if self.get_free_open_trades(): self.enter_positions() - + if self.trading_mode == TradingMode.FUTURES: + self._schedule.run_pending() Trade.commit() def process_stopped(self) -> None: