From c981cc335d0c69a654628a490a8a02e299700b6a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 4 Dec 2021 14:51:55 +0100 Subject: [PATCH] Remove wrong comment --- freqtrade/optimize/backtesting.py | 1 - 1 file changed, 1 deletion(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 55461b3e1..d4b51d04d 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -373,7 +373,6 @@ class Backtesting: current_time=sell_row[DATE_IDX], proposed_rate=closerate, current_profit=current_profit) # Use the maximum between close_rate and low as we cannot sell outside of a candle. - # Applies when a new ROI setting comes in place and the whole candle is above that. closerate = min(max(closerate, sell_row[LOW_IDX]), sell_row[HIGH_IDX]) # Confirm trade exit: