Exits are exits, not entries
This commit is contained in:
parent
66a18a6406
commit
848f69da5e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue