update process_open_trade_positions to handle position adjustment for initial entry order (before filling)

This commit is contained in:
Axel-CH
2024-11-28 22:27:07 -04:00
parent 4c365f6afc
commit 0a51006da2

View File

@@ -729,7 +729,7 @@ class FreqtradeBot(LoggingMixin):
for trade in Trade.get_open_trades():
# If there is any open orders, wait for them to finish.
# TODO Remove to allow mul open orders
if trade.has_open_position:
if trade.has_open_position or trade.has_open_orders:
# Do a wallets update (will be ratelimited to once per hour)
self.wallets.update(False)
try: