Update confirm_trade_exit to use sell_reason terminology

This commit is contained in:
Matthias
2022-03-25 06:37:40 +01:00
parent 46ca773c25
commit d7f76ee452
8 changed files with 42 additions and 14 deletions

View File

@@ -553,7 +553,8 @@ class Backtesting:
pair=trade.pair, trade=trade, order_type='limit', amount=trade.amount,
rate=closerate,
time_in_force=time_in_force,
sell_reason=sell.sell_reason,
sell_reason=sell.sell_reason, # deprecated
exit_reason=sell.sell_reason,
current_time=sell_candle_time):
return None