Readd refind_order logic

This commit is contained in:
Matthias
2020-09-14 17:34:13 +02:00
parent 77c28187a6
commit 962fed24b0
2 changed files with 34 additions and 36 deletions

View File

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