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