From 3a0987e0be23042a18972e49155c0716396cb163 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 5 Aug 2022 21:00:54 -0400 Subject: [PATCH] Fix to-fast-edit guard case --- piker/brokers/kraken/broker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/kraken/broker.py b/piker/brokers/kraken/broker.py index 25c8c1a7..3641934a 100644 --- a/piker/brokers/kraken/broker.py +++ b/piker/brokers/kraken/broker.py @@ -1038,7 +1038,7 @@ async def handle_order_updates( txid # we throttle too-fast-requests on the ems side - or (txid and isinstance(txid, TooFastEdit)) + and not isinstance(txid, TooFastEdit) ): # client was editting too quickly # so we instead cancel this order