Use correct sell reason in case of custom sell reason.
This commit is contained in:
@@ -1194,7 +1194,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
if not strategy_safe_wrapper(self.strategy.confirm_trade_exit, default_retval=True)(
|
||||
pair=trade.pair, trade=trade, order_type=order_type, amount=amount, rate=limit,
|
||||
time_in_force=time_in_force,
|
||||
sell_reason=sell_reason.sell_type.value):
|
||||
sell_reason=sell_reason.sell_reason):
|
||||
logger.info(f"User requested abortion of selling {trade.pair}")
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user