Fix typo
parent
80b656e2ab
commit
307bc87738
|
@ -165,7 +165,7 @@ async def stream_quotes(
|
|||
volume: float # Accumulated volume 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):
|
||||
for field, val in self.__dataclass_fields__.items():
|
||||
setattr(self, field, val.type(getattr(self, field)))
|
||||
|
|
|
@ -1171,10 +1171,10 @@ async def stream_quotes(
|
|||
packetizer=partial(
|
||||
packetizer,
|
||||
formatter=formatter,
|
||||
symboal_data=sd,
|
||||
symbol_data=sd,
|
||||
),
|
||||
|
||||
# actual func args
|
||||
# actual target "streaming func" args
|
||||
get_quotes=get_quotes,
|
||||
diff_cached=diff_cached,
|
||||
rate=rate,
|
||||
|
|
Loading…
Reference in New Issue