mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-02 20:30:25 +00:00
Improve recovery detection by skipping open orders
This commit is contained in:
@@ -1075,7 +1075,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
trades_closed = 0
|
||||
for trade in trades:
|
||||
|
||||
if not self.wallets.check_exit_amount(trade):
|
||||
if trade.open_order_id is None and not self.wallets.check_exit_amount(trade):
|
||||
logger.warning(
|
||||
f'Not enough {trade.safe_base_currency} in wallet to exit {trade}. '
|
||||
'Trying to recover.')
|
||||
|
||||
Reference in New Issue
Block a user