chore: backtesting will always be "true" for dry-run.

This commit is contained in:
Matthias
2025-03-21 19:09:30 +01:00
parent 8e2de9ef7e
commit c6e64bad49

View File

@@ -714,7 +714,7 @@ class Backtesting:
exchange=self.exchange,
wallets=self.wallets,
stake_currency=self.config["stake_currency"],
dry_run=self.config["dry_run"],
dry_run=True,
)
if not (order.ft_order_side == trade.exit_side and order.safe_amount == trade.amount):
self._call_adjust_stop(current_date, trade, order.ft_price)