Small cleanups

This commit is contained in:
Matthias
2022-05-28 10:07:23 +02:00
parent 05ca4fed06
commit a8218feea8
4 changed files with 7 additions and 6 deletions

View File

@@ -1540,6 +1540,7 @@ class FreqtradeBot(LoggingMixin):
profit_rate = order.safe_price
if not fill:
# TODO: this call is wrong here.
trade.process_exit_sub_trade(order, is_closed=False)
profit_ratio = trade.close_profit