Not sure how this worked before but, pass reqid from existing live order

fsp_feeds
Tyler Goodlet 2021-08-17 14:07:07 -04:00
parent a1d4e61fc2
commit 87bd6046e5
1 changed files with 2 additions and 3 deletions

View File

@ -796,11 +796,10 @@ async def process_client_order_cmds(
# sanity check on emsd id # sanity check on emsd id
assert live_entry.oid == oid assert live_entry.oid == oid
reqid = live_entry.reqid
# if we already had a broker order id then # if we already had a broker order id then
# this is likely an order update commmand. # this is likely an order update commmand.
log.info( log.info(f"Modifying live {broker} order: {reqid}")
f"Modifying live {broker} order: {live_entry.reqid}")
msg = BrokerdOrder( msg = BrokerdOrder(
oid=oid, # no ib support for oids... oid=oid, # no ib support for oids...