Add comment explaining waiting for first trade quote
parent
9f5dfe8501
commit
1b1e35d32d
|
@ -523,6 +523,7 @@ async def stream_quotes(
|
|||
typ, quote = await anext(msg_gen)
|
||||
|
||||
while typ != 'trade':
|
||||
# take care to not unblock here until we get a real trade quote
|
||||
typ, quote = await anext(msg_gen)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue