Remove pointless reset of close_profit

This commit is contained in:
Matthias 2023-03-11 15:03:06 +01:00
parent a2336f256b
commit 39c651e40c

View File

@ -1468,8 +1468,6 @@ class FreqtradeBot(LoggingMixin):
return False return False
trade.close_rate = None trade.close_rate = None
trade.close_rate_requested = None trade.close_rate_requested = None
trade.close_profit = None
trade.close_profit_abs = None
# Set exit_reason for fill message # Set exit_reason for fill message
exit_reason_prev = trade.exit_reason exit_reason_prev = trade.exit_reason
trade.exit_reason = trade.exit_reason + f", {reason}" if trade.exit_reason else reason trade.exit_reason = trade.exit_reason + f", {reason}" if trade.exit_reason else reason