Woops, make unsub pairs a list

web_utils
Tyler Goodlet 2021-05-27 18:02:27 -04:00
parent 19711bf024
commit ff856a6ee3
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ async def stream_quotes(
# unsub from all pairs on teardown # unsub from all pairs on teardown
await ws.send_msg({ await ws.send_msg({
'pair': ws_pairs.values(), 'pair': list(ws_pairs.values()),
'event': 'unsubscribe', 'event': 'unsubscribe',
'subscription': ['ohlc', 'spread'], 'subscription': ['ohlc', 'spread'],
}) })