Add explicit test and document behavior

This commit is contained in:
Matthias
2022-05-14 13:52:58 +02:00
parent bb1b283d95
commit 5767d652bf
3 changed files with 34 additions and 4 deletions

View File

@@ -630,7 +630,8 @@ class Exchange:
if required_candle_call_count > 5:
# Only allow 5 calls per pair to somewhat limit the impact
raise OperationalException(
f"This strategy requires {startup_candles} candles to start, which is more than 5x "
f"This strategy requires {startup_candles} candles to start, "
"which is more than 5x "
f"the amount of candles {self.name} provides for {timeframe}.")
elif required_candle_call_count > 1:
raise OperationalException(