Remove confusing entry
(in this branch of the if statement, candle_date is empty
This commit is contained in:
parent
5e3d2401f5
commit
be57ceb252
@ -312,7 +312,7 @@ class IStrategy(ABC):
|
|||||||
|
|
||||||
if not candle_date:
|
if not candle_date:
|
||||||
# Simple call ...
|
# Simple call ...
|
||||||
return PairLocks.is_pair_locked(pair, candle_date)
|
return PairLocks.is_pair_locked(pair)
|
||||||
else:
|
else:
|
||||||
lock_time = timeframe_to_next_date(self.timeframe, candle_date)
|
lock_time = timeframe_to_next_date(self.timeframe, candle_date)
|
||||||
return PairLocks.is_pair_locked(pair, lock_time)
|
return PairLocks.is_pair_locked(pair, lock_time)
|
||||||
|
Loading…
Reference in New Issue
Block a user