Update interface.py
Simplified return value, thereby including the situation where the time simply hasn't expired yet
This commit is contained in:
parent
9a93a0876a
commit
67306d943a
@ -497,8 +497,8 @@ class IStrategy(ABC):
|
||||
ignore_buying_expired_candle_after of %s seconds''',
|
||||
self.ignore_buying_expired_candle_after)
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
return False
|
||||
|
||||
def should_sell(self, trade: Trade, rate: float, date: datetime, buy: bool,
|
||||
sell: bool, low: float = None, high: float = None,
|
||||
|
Loading…
Reference in New Issue
Block a user