From 87bd6046e553db7128580109608eb6d495d1d561 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 17 Aug 2021 14:07:07 -0400 Subject: [PATCH] Not sure how this worked before but, pass reqid from existing live order --- piker/clearing/_ems.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/piker/clearing/_ems.py b/piker/clearing/_ems.py index 91197d60..70187a6c 100644 --- a/piker/clearing/_ems.py +++ b/piker/clearing/_ems.py @@ -796,11 +796,10 @@ async def process_client_order_cmds( # sanity check on emsd id assert live_entry.oid == oid - + reqid = live_entry.reqid # if we already had a broker order id then # this is likely an order update commmand. - log.info( - f"Modifying live {broker} order: {live_entry.reqid}") + log.info(f"Modifying live {broker} order: {reqid}") msg = BrokerdOrder( oid=oid, # no ib support for oids...