Fix typo
parent
3655e449d6
commit
9976bc3a3b
|
@ -165,7 +165,7 @@ async def stream_quotes(
|
||||||
volume: float # Accumulated volume within interval
|
volume: float # Accumulated volume within interval
|
||||||
count: int # Number of trades within interval
|
count: int # Number of trades within interval
|
||||||
|
|
||||||
# XXX: ugh, super hideous.. why doesn't
|
# XXX: ugh, super hideous.. needs built-in converters.
|
||||||
def __post_init__(self):
|
def __post_init__(self):
|
||||||
for field, val in self.__dataclass_fields__.items():
|
for field, val in self.__dataclass_fields__.items():
|
||||||
setattr(self, field, val.type(getattr(self, field)))
|
setattr(self, field, val.type(getattr(self, field)))
|
||||||
|
|
|
@ -1164,10 +1164,10 @@ async def stream_quotes(
|
||||||
packetizer=partial(
|
packetizer=partial(
|
||||||
packetizer,
|
packetizer,
|
||||||
formatter=formatter,
|
formatter=formatter,
|
||||||
symboal_data=sd,
|
symbol_data=sd,
|
||||||
),
|
),
|
||||||
|
|
||||||
# actual func args
|
# actual target "streaming func" args
|
||||||
get_quotes=get_quotes,
|
get_quotes=get_quotes,
|
||||||
diff_cached=diff_cached,
|
diff_cached=diff_cached,
|
||||||
rate=rate,
|
rate=rate,
|
||||||
|
|
Loading…
Reference in New Issue