diff --git a/piker/clearing/_ems.py b/piker/clearing/_ems.py index 0998aa44..7cfd3a60 100644 --- a/piker/clearing/_ems.py +++ b/piker/clearing/_ems.py @@ -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