Add note about broadcast when no `.symbol` found

ib_py311_fixes
Tyler Goodlet 2023-08-11 14:52:10 -04:00
parent c5ed6e6ac4
commit 4aa04e1c8e
1 changed files with 4 additions and 1 deletions

View File

@ -949,7 +949,10 @@ async def translate_and_relay_brokerd_events(
fqme: str = ( fqme: str = (
bdmsg.symbol # might be None bdmsg.symbol # might be None
or or
bdmsg.broker_details['flow']['symbol'] bdmsg.broker_details['flow']
# NOTE: what happens in empty case in the
# broadcast below? it's a problem?
.get('symbol', '')
) )
await router.client_broadcast( await router.client_broadcast(