Always send order-type to exit notifications

This commit is contained in:
Matthias
2024-01-06 11:29:02 +01:00
parent 685fef1ee8
commit 59ec3fd860

View File

@@ -1983,7 +1983,8 @@ class FreqtradeBot(LoggingMixin):
if order.ft_order_side == trade.exit_side:
# Exit notification
if send_msg and not stoploss_order and order.order_id not in trade.open_orders_ids:
self._notify_exit(trade, '', fill=True, sub_trade=trade.is_open, order=order)
self._notify_exit(trade, order.order_type, fill=True,
sub_trade=trade.is_open, order=order)
if not trade.is_open:
self.handle_protections(trade.pair, trade.trade_direction)
elif send_msg and order.order_id not in trade.open_orders_ids and not stoploss_order: