Exits are exits, not entries

This commit is contained in:
Mark Veidemanis 2022-12-01 21:13:21 +00:00
parent 66a18a6406
commit 848f69da5e
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ def process_callback(callback):
execute_strategy(callback, strategy, func="entry") execute_strategy(callback, strategy, func="entry")
# Scan for exit # Scan for exit
log.debug("Scanning for entry strategies...") log.debug("Scanning for exit strategies...")
strategies = Strategy.objects.filter(exit_signals=callback.signal, enabled=True) strategies = Strategy.objects.filter(exit_signals=callback.signal, enabled=True)
log.debug(f"Matched strategies: {strategies}") log.debug(f"Matched strategies: {strategies}")
for strategy in strategies: for strategy in strategies: