mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
add logger
This commit is contained in:
parent
dd01ae880f
commit
25ae25248c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user