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