Skip to content

Commit f546146

Browse files
committed
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.
1 parent 0019867 commit f546146

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

freqtrade/exchange/exchange.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -879,13 +879,13 @@ def validate_required_startup_candles(self, startup_candles: int, timeframe: str
879879
# Only allow 5 calls per pair to somewhat limit the impact
880880
raise ConfigurationError(
881881
f"This strategy requires {startup_candles} candles to start, "
882-
"which is more than 5x "
883-
f"the amount of candles {self.name} provides for {timeframe} "
884-
f"at a startup_candle_count limit of {candle_limit * 5 - 1}."
882+
f"which is more than 5x ({candle_limit * 5 - 1} candles) "
883+
f"the amount of candles {self.name} provides for {timeframe}."
885884
)
886885
elif required_candle_call_count > 1:
887886
raise ConfigurationError(
888-
f"This strategy requires {startup_candles} candles to start, which is more than "
887+
f"This strategy requires {startup_candles} candles to start, "
888+
f"which is more than ({candle_limit - 1} candles) "
889889
f"the amount of candles {self.name} provides for {timeframe}."
890890
)
891891
if required_candle_call_count > 1:

0 commit comments

Comments
 (0)