Re-add schedule.run_pending

This commit is contained in:
Matthias 2021-10-12 19:10:38 +02:00
parent 86cbd0039f
commit f290ff5c9a

View File

@ -203,7 +203,8 @@ class FreqtradeBot(LoggingMixin):
# Then looking for buy opportunities # Then looking for buy opportunities
if self.get_free_open_trades(): if self.get_free_open_trades():
self.enter_positions() self.enter_positions()
if self.trading_mode == TradingMode.FUTURES:
self._schedule.run_pending()
Trade.commit() Trade.commit()
def process_stopped(self) -> None: def process_stopped(self) -> None: