add logger

This commit is contained in:
Stefano Ariestasia 2023-09-13 14:42:43 +09:00
parent dd01ae880f
commit 25ae25248c

View File

@ -75,4 +75,8 @@ class FullTradesFilter(IPairList):
self.log_once(f"Max open trades: {max_trades}, current open trades: {num_open}", logger.info)
if (num_open >= max_trades):
logger.info('Slots full. Emptying pairlist!!')
return [];
return pairlist