fix tests

This commit is contained in:
Yazeed Al Oyoun 2020-03-11 17:10:57 +01:00
parent a82cdf0add
commit 7754742459

View File

@ -282,7 +282,7 @@ class IStrategy(ABC):
interval_minutes = timeframe_to_minutes(interval) interval_minutes = timeframe_to_minutes(interval)
if (arrow.utcnow() - signal_date).total_seconds() // 60 >= interval_minutes: if (arrow.utcnow() - signal_date).total_seconds() // 60 >= interval_minutes:
logger.warning('Old candle for pair %s. Last tick is %s minutes old', logger.warning('Old candle for pair %s. Last tick is %s minutes old',
pair, int(arrow.utcnow() - signal_date).total_seconds() // 60) pair, int((arrow.utcnow() - signal_date).total_seconds() // 60))
return False, False return False, False
# Check if dataframe is out of date # Check if dataframe is out of date