Fix assignment out of order
parent
3cfb15ed6e
commit
acd32341e2
|
@ -140,8 +140,8 @@ async def stream_requests(
|
||||||
_cache[symbol] = quote
|
_cache[symbol] = quote
|
||||||
|
|
||||||
# only ship diff updates and other required fields
|
# only ship diff updates and other required fields
|
||||||
payload['symbol'] = symbol
|
|
||||||
payload = {k: quote[k] for k, v in new}
|
payload = {k: quote[k] for k, v in new}
|
||||||
|
payload['symbol'] = symbol
|
||||||
|
|
||||||
# if there was volume likely the last size of
|
# if there was volume likely the last size of
|
||||||
# shares traded is useful info and it's possible
|
# shares traded is useful info and it's possible
|
||||||
|
|
Loading…
Reference in New Issue