Deliver ems cached pps are dict of lists

fsp_feeds
Tyler Goodlet 2021-09-10 18:54:34 -04:00
parent 054ddf6732
commit c00cf12f94
1 changed files with 4 additions and 1 deletions
piker/clearing

View File

@ -1010,7 +1010,10 @@ async def _emsd_main(
# signal to client that we're started
# TODO: we could eventually send back **all** brokerd
# positions here?
await ems_ctx.started(relay.positions)
await ems_ctx.started(
{sym: list(pps.values())
for sym, pps in relay.positions.items()}
)
# establish 2-way stream with requesting order-client and
# begin handling inbound order requests and updates