Add comment explaining waiting for first trade quote

small_kucoin_fixes
jaredgoldman 2023-04-13 22:28:44 -04:00
parent 9f5dfe8501
commit 1b1e35d32d
1 changed files with 1 additions and 0 deletions

View File

@ -523,6 +523,7 @@ async def stream_quotes(
typ, quote = await anext(msg_gen) typ, quote = await anext(msg_gen)
while typ != 'trade': while typ != 'trade':
# take care to not unblock here until we get a real trade quote
typ, quote = await anext(msg_gen) typ, quote = await anext(msg_gen)