chore: ensure trades are committed after the exit loop

pull/11617/head
Matthias 1 year ago
parent 8be31275d7
commit 6b033c211e

@ -293,6 +293,7 @@ class FreqtradeBot(LoggingMixin):
trades = Trade.get_open_trades()
# First process current opened trades (positions)
self.exit_positions(trades)
Trade.commit()
# Check if we need to adjust our current positions before attempting to enter new trades.
if self.strategy.position_adjustment_enable:

Loading…
Cancel
Save