Don't run refind order on stoploss

This commit is contained in:
Matthias
2020-09-11 20:06:05 +02:00
parent 977ccaac16
commit 77c28187a6
2 changed files with 36 additions and 34 deletions

View File

@@ -897,7 +897,9 @@ class FreqtradeBot:
except InsufficientFundsError as e:
logger.warning(f"Unable to place stoploss order {e}.")
# Try to figure out what went wrong
self.handle_insufficient_funds(trade)
# TODO: test without refinding order logic
# TODO: Also reenable the test test_create_stoploss_order_insufficient_funds
# self.handle_insufficient_funds(trade)
except InvalidOrderException as e:
trade.stoploss_order_id = None