Not sure how this worked before but, pass reqid from existing live order
parent
a1d4e61fc2
commit
87bd6046e5
|
@ -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...
|
||||||
|
|
Loading…
Reference in New Issue