re-align adjust_entry_price between backtest and live

This commit is contained in:
Matthias
2023-10-05 18:11:35 +02:00
parent b2ad40253f
commit f5db856a75

View File

@@ -1435,7 +1435,7 @@ class FreqtradeBot(LoggingMixin):
trade=trade, order=order_obj, pair=trade.pair,
current_time=datetime.now(timezone.utc), proposed_rate=proposed_rate,
current_order_rate=order_obj.safe_price, entry_tag=trade.enter_tag,
side=trade.entry_side)
side=trade.trade_direction)
replacing = True
cancel_reason = constants.CANCEL_REASON['REPLACE']