Skip to content

Commit c6e64ba

Browse files
committed
chore: backtesting will always be "true" for dry-run.
1 parent 8e2de9e commit c6e64ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

freqtrade/optimize/backtesting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def _try_close_open_order(
714714
exchange=self.exchange,
715715
wallets=self.wallets,
716716
stake_currency=self.config["stake_currency"],
717-
dry_run=self.config["dry_run"],
717+
dry_run=True,
718718
)
719719
if not (order.ft_order_side == trade.exit_side and order.safe_amount == trade.amount):
720720
self._call_adjust_stop(current_date, trade, order.ft_price)

0 commit comments

Comments
 (0)