mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-19 21:40:24 +00:00
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.
This commit is contained in:
@@ -880,7 +880,8 @@ class Exchange:
|
||||
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"the amount of candles {self.name} provides for {timeframe}"
|
||||
f"at a startup_candle_count limit of {candle_limit * 5 - 1}."
|
||||
)
|
||||
elif required_candle_call_count > 1:
|
||||
raise ConfigurationError(
|
||||
|
||||
Reference in New Issue
Block a user