added return false, false
This commit is contained in:
parent
54bde6ac11
commit
4e45abbf13
@ -283,6 +283,7 @@ class IStrategy(ABC):
|
|||||||
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, (arrow.utcnow() - signal_date).total_seconds() // 60)
|
pair, (arrow.utcnow() - signal_date).total_seconds() // 60)
|
||||||
|
return False, False
|
||||||
|
|
||||||
# Check if dataframe is out of date
|
# Check if dataframe is out of date
|
||||||
offset = self.config.get('exchange', {}).get('outdated_offset', 5)
|
offset = self.config.get('exchange', {}).get('outdated_offset', 5)
|
||||||
|
Loading…
Reference in New Issue
Block a user