Don't crash on unknown orders execing
parent
396f6b2a0d
commit
f6dbdfab84
|
@ -378,7 +378,10 @@ async def process_broker_trades(
|
|||
oid = paper['oid']
|
||||
|
||||
else:
|
||||
msg['external']
|
||||
msg.get('external')
|
||||
if not msg:
|
||||
log.error(f"Unknown trade event {event}")
|
||||
|
||||
continue
|
||||
|
||||
resp = {
|
||||
|
|
Loading…
Reference in New Issue