Fix to-fast-edit guard case

kraken_ws_orders
Tyler Goodlet 2022-08-05 21:00:54 -04:00
parent d280a592b1
commit 3a0987e0be
1 changed files with 1 additions and 1 deletions

View File

@ -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