Remove pointless reset of close_profit
This commit is contained in:
parent
a2336f256b
commit
39c651e40c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user