Handle predicate not yet inserted to exec loop
parent
54d272ea29
commit
4774881812
|
@ -175,7 +175,7 @@ async def execute_triggers(
|
|||
tuple(execs.items())
|
||||
):
|
||||
|
||||
if (ttype not in tf) or (not pred(price)):
|
||||
if not pred or (ttype not in tf) or (not pred(price)):
|
||||
# majority of iterations will be non-matches
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue