More debugging

This commit is contained in:
Mark Veidemanis 2023-08-24 17:52:18 +00:00
parent 771a944a13
commit 3d91fb394a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 0 deletions

View File

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