added return false, false

This commit is contained in:
Yazeed Al Oyoun 2020-03-11 16:44:45 +01:00
parent 54bde6ac11
commit 4e45abbf13

View File

@ -283,6 +283,7 @@ class IStrategy(ABC):
if (arrow.utcnow() - signal_date).total_seconds() // 60 >= interval_minutes:
logger.warning('Old candle for pair %s. Last tick is %s minutes old',
pair, (arrow.utcnow() - signal_date).total_seconds() // 60)
return False, False
# Check if dataframe is out of date
offset = self.config.get('exchange', {}).get('outdated_offset', 5)