Fix assignment out of order

marketstore_integration
Tyler Goodlet 2020-06-01 14:01:55 -04:00
parent 3cfb15ed6e
commit acd32341e2
1 changed files with 1 additions and 1 deletions

View File

@ -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