Remove confusing entry

(in this branch of the if statement, candle_date is empty
This commit is contained in:
Matthias 2020-11-21 14:46:27 +01:00
parent 5e3d2401f5
commit be57ceb252

View File

@ -312,7 +312,7 @@ class IStrategy(ABC):
if not candle_date:
# Simple call ...
return PairLocks.is_pair_locked(pair, candle_date)
return PairLocks.is_pair_locked(pair)
else:
lock_time = timeframe_to_next_date(self.timeframe, candle_date)
return PairLocks.is_pair_locked(pair, lock_time)