`kraken`: the apiflows chain map needs a `dict`

even_moar_kraken_order_fixes
Tyler Goodlet 2022-10-27 15:00:23 -04:00
parent 9486d993ce
commit e6dd1458f8
1 changed files with 2 additions and 3 deletions

View File

@ -795,7 +795,7 @@ async def handle_order_updates(
# 'vol_exec': exec_vlm} # 0.0000
match update_msg:
# EMS-unknown live order that needs to be
# EMS-unknown LIVE order that needs to be
# delivered and loaded on the client-side.
case {
'userref': reqid,
@ -849,7 +849,7 @@ async def handle_order_updates(
),
src='kraken',
)
apiflows[reqid].maps.append(status_msg)
apiflows[reqid].maps.append(status_msg.to_dict())
await ems_stream.send(status_msg)
continue
@ -1104,7 +1104,6 @@ async def handle_order_updates(
'txid': [txid],
})
case _:
log.warning(f'Unhandled trades update msg: {msg}')