Cache instead of get pairs in symbol search
parent
89bb124728
commit
ebfd490a1a
|
@ -302,7 +302,7 @@ class Client:
|
|||
pattern: str,
|
||||
limit: int = 30,
|
||||
) -> dict[str, KucoinMktPair]:
|
||||
data = await self._get_pairs()
|
||||
data = await self.cache_pairs()
|
||||
|
||||
matches = fuzzy.extractBests(
|
||||
pattern, data, score_cutoff=35, limit=limit)
|
||||
|
|
Loading…
Reference in New Issue