Log assetfilter messages to console

This commit is contained in:
Mark Veidemanis 2023-02-14 07:20:47 +00:00
parent 73cf56c50e
commit 0a89d96b86
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 0 deletions

View File

@ -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}"