Fix small bugs

This commit is contained in:
Matthias
2019-10-23 20:27:51 +02:00
parent 33164ac78e
commit 2ba388074e
3 changed files with 12 additions and 17 deletions

View File

@@ -51,7 +51,7 @@ class TimeRange:
:return: None (Modifies the object in place)
"""
if (not self.starttype or (startup_candles
and min_date.timestamp == self.startts)):
and min_date.timestamp >= self.startts)):
# If no startts was defined, or test-data starts at the defined test-date
logger.warning("Moving start-date by %s candles to account for startup time.",
startup_candles)