From f546146d40e8de39342e647b329aad636b514375 Mon Sep 17 00:00:00 2001 From: hippocritical Date: Tue, 23 Dec 2025 00:44:45 +0100 Subject: [PATCH] changed the wording in if required_candle_call_count > 5: as per matthias suggestion. adjusted the elif part too, since this would have to be worded similarly. If a native speaker thinks there is a better wording, be our guest. --- freqtrade/exchange/exchange.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 266555806..3085e9ac9 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -879,13 +879,13 @@ class Exchange: # Only allow 5 calls per pair to somewhat limit the impact raise ConfigurationError( f"This strategy requires {startup_candles} candles to start, " - "which is more than 5x " - f"the amount of candles {self.name} provides for {timeframe} " - f"at a startup_candle_count limit of {candle_limit * 5 - 1}." + f"which is more than 5x ({candle_limit * 5 - 1} candles) " + f"the amount of candles {self.name} provides for {timeframe}." ) elif required_candle_call_count > 1: raise ConfigurationError( - f"This strategy requires {startup_candles} candles to start, which is more than " + f"This strategy requires {startup_candles} candles to start, " + f"which is more than ({candle_limit - 1} candles) " f"the amount of candles {self.name} provides for {timeframe}." ) if required_candle_call_count > 1: