Always force lowercase on `binance` symbol keys

Hopefully helps resolve #435
agg_feedz
Tyler Goodlet 2022-12-20 16:58:51 -05:00
parent f232d6d4ee
commit 76f920a16b
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class Client:
params = {}
if sym is not None:
sym = sym.upper()
sym = sym.lower()
params = {'symbol': sym}
resp = await self._api(
@ -465,7 +465,7 @@ async def stream_quotes(
si = sym_infos[sym] = syminfo.to_dict()
filters = {}
for entry in syminfo.filters:
ftype = entry.pop('filterType')
ftype = entry['filterType']
filters[ftype] = entry
# XXX: after manually inspecting the response format we