Add the reason why there is a global pairlock when lock is available
This commit is contained in:
parent
9f6f3e0862
commit
896ec58cad
@ -378,7 +378,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
if lock:
|
if lock:
|
||||||
self.log_once(f"Global pairlock active until "
|
self.log_once(f"Global pairlock active until "
|
||||||
f"{lock.lock_end_time.strftime(constants.DATETIME_PRINT_FORMAT)}. "
|
f"{lock.lock_end_time.strftime(constants.DATETIME_PRINT_FORMAT)}. "
|
||||||
"Not creating new trades.", logger.info)
|
f"Not creating new trades, reason: {lock.reason}.", logger.info)
|
||||||
else:
|
else:
|
||||||
self.log_once("Global pairlock active. Not creating new trades.", logger.info)
|
self.log_once("Global pairlock active. Not creating new trades.", logger.info)
|
||||||
return trades_created
|
return trades_created
|
||||||
|
Loading…
Reference in New Issue
Block a user