mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-02 16:21:20 +00:00
fix: align pairlock backtesting expiration condition with live/dry run
This commit is contained in:
@@ -86,7 +86,7 @@ class PairLocks:
|
||||
lock
|
||||
for lock in PairLocks.locks
|
||||
if (
|
||||
lock.lock_end_time >= now
|
||||
lock.lock_end_time > now
|
||||
and lock.active is True
|
||||
and (pair is None or lock.pair == pair)
|
||||
and (side is None or lock.side == "*" or lock.side == side)
|
||||
|
||||
Reference in New Issue
Block a user