From 39c651e40c9d9f83b4dd2c58e82a17488b475a0c Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 11 Mar 2023 15:03:06 +0100 Subject: [PATCH] Remove pointless reset of close_profit --- freqtrade/freqtradebot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index feb0baf5a..281d90432 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1468,8 +1468,6 @@ class FreqtradeBot(LoggingMixin): return False trade.close_rate = None trade.close_rate_requested = None - trade.close_profit = None - trade.close_profit_abs = None # Set exit_reason for fill message exit_reason_prev = trade.exit_reason trade.exit_reason = trade.exit_reason + f", {reason}" if trade.exit_reason else reason