Fix some typos and comment mistakes

This commit is contained in:
Matthias
2019-10-28 13:05:54 +01:00
parent 132a4da7cf
commit 61c037f2cf
4 changed files with 10 additions and 10 deletions

View File

@@ -147,7 +147,7 @@ def load_pair_history(pair: str,
"""
timerange_startup = deepcopy(timerange)
if startup_candles and timerange_startup:
if startup_candles > 0 and timerange_startup:
logger.info('Using indicator startup period: %s ...', startup_candles)
timerange_startup.subtract_start(timeframe_to_seconds(ticker_interval) * startup_candles)