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,7 +497,7 @@ class IStrategy(ABC):
|
|||||||
ignore_buying_expired_candle_after of %s seconds''',
|
ignore_buying_expired_candle_after of %s seconds''',
|
||||||
self.ignore_buying_expired_candle_after)
|
self.ignore_buying_expired_candle_after)
|
||||||
return True
|
return True
|
||||||
else:
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def should_sell(self, trade: Trade, rate: float, date: datetime, buy: bool,
|
def should_sell(self, trade: Trade, rate: float, date: datetime, buy: bool,
|
||||||
|
Loading…
Reference in New Issue
Block a user