From 0a89d96b86e6d54fe7eb9ec8ad7cfce82433c250 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 14 Feb 2023 07:20:47 +0000 Subject: [PATCH] Log assetfilter messages to console --- core/trading/market.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/trading/market.py b/core/trading/market.py index 5735edc..bd7794c 100644 --- a/core/trading/market.py +++ b/core/trading/market.py @@ -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}"