Log assetfilter messages to console
This commit is contained in:
parent
73cf56c50e
commit
0a89d96b86
|
@ -335,6 +335,7 @@ def execute_strategy(callback, strategy, func):
|
|||
# Check against the asset groups
|
||||
if func == "entry" and strategy.asset_group is not None:
|
||||
allowed = assetfilter.get_allowed(strategy.asset_group, base, quote, direction)
|
||||
log.debug(f"Asset filter allowed for {strategy.asset_group}: {allowed}")
|
||||
if not allowed:
|
||||
log.debug(
|
||||
f"Denied trading {symbol} due to asset filter {strategy.asset_group}"
|
||||
|
|
Loading…
Reference in New Issue