Skip to content

Commit 335e632

Browse files
committed
adjusted the error message of "more than 5 queries needed for exchange" to be more verbose to the user.
Now they don't have to guess what the limit actually is to then work towards, helping to better understand the error message.
1 parent d0ac462 commit 335e632

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

freqtrade/exchange/exchange.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,8 @@ def validate_required_startup_candles(self, startup_candles: int, timeframe: str
880880
raise ConfigurationError(
881881
f"This strategy requires {startup_candles} candles to start, "
882882
"which is more than 5x "
883-
f"the amount of candles {self.name} provides for {timeframe}."
883+
f"the amount of candles {self.name} provides for {timeframe}"
884+
f"at a startup_candle_count limit of {candle_limit * 5 - 1}."
884885
)
885886
elif required_candle_call_count > 1:
886887
raise ConfigurationError(

0 commit comments

Comments
 (0)