Cache instead of get pairs in symbol search

small_kucoin_fixes
jaredgoldman 2023-04-13 22:02:13 -04:00
parent 89bb124728
commit ebfd490a1a
1 changed files with 1 additions and 1 deletions

View File

@ -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)