From 3d91fb394a838838414b0b840aca25f766f4c813 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 24 Aug 2023 17:52:18 +0000 Subject: [PATCH] More debugging --- core/trading/market.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/trading/market.py b/core/trading/market.py index e08d068..01d578a 100644 --- a/core/trading/market.py +++ b/core/trading/market.py @@ -376,7 +376,9 @@ def execute_strategy(callback, strategy, func): # Check if we are trading against the trend within_trends = checks.within_trends(strategy, symbol, direction) if not within_trends: + print("NOT WITHIN TRENDS") return + print("IS WITHIN TRENDS") type = strategy.order_settings.order_type