Handle predicate not yet inserted to exec loop

order_mode_finesse
Tyler Goodlet 2021-04-06 12:08:15 -04:00
parent 54d272ea29
commit 4774881812
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ async def execute_triggers(
tuple(execs.items()) 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 # majority of iterations will be non-matches
continue continue