Update documentation to clarify new behaviour

This commit is contained in:
Matthias
2021-11-07 13:14:29 +01:00
parent a08dd17bc1
commit de4bc7204d
3 changed files with 8 additions and 4 deletions

View File

@@ -471,7 +471,7 @@ class Exchange:
raise OperationalException(
f'Time in force policies are not supported for {self.name} yet.')
def validate_required_startup_candles(self, startup_candles: int, timeframe: str) -> None:
def validate_required_startup_candles(self, startup_candles: int, timeframe: str) -> int:
"""
Checks if required startup_candles is more than ohlcv_candle_limit().
Requires a grace-period of 5 candles - so a startup-period up to 494 is allowed by default.