fix: provide default for exit reason

This commit is contained in:
Matthias
2025-02-20 20:32:51 +01:00
parent e76574b79f
commit 09b9ff2c68
+1 -1
View File
@@ -1736,7 +1736,7 @@ class FreqtradeBot(LoggingMixin):
adjusted_price, adjusted_price,
exit_check=ExitCheckTuple( exit_check=ExitCheckTuple(
exit_type=ExitType.CUSTOM_EXIT, exit_type=ExitType.CUSTOM_EXIT,
exit_reason=order_obj.ft_order_tag, exit_reason=order_obj.ft_order_tag or "order_replaced",
), ),
ordertype="limit", ordertype="limit",
sub_trade_amt=order_obj.safe_remaining, sub_trade_amt=order_obj.safe_remaining,