mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
Merge branch 'master' of gitlab.com:simple-stock-bots/simple-telegram-stock-bot
This commit is contained in:
commit
1e60827a66
@ -277,4 +277,4 @@ class cg_Crypto:
|
|||||||
"coins"
|
"coins"
|
||||||
]
|
]
|
||||||
|
|
||||||
return [f"$${c['item']['id'].upper()}: {c['item']['name']}" for c in coins]
|
return [f"$${c['item']['symbol'].upper()}: {c['item']['name']}" for c in coins]
|
||||||
|
@ -108,7 +108,7 @@ class Router:
|
|||||||
|
|
||||||
df.sort_values(by="Match", ascending=False, inplace=True)
|
df.sort_values(by="Match", ascending=False, inplace=True)
|
||||||
|
|
||||||
symbols = df.head(10)
|
symbols = df.head(20)
|
||||||
symbol_list = list(zip(list(symbols["symbol"]), list(symbols["description"])))
|
symbol_list = list(zip(list(symbols["symbol"]), list(symbols["description"])))
|
||||||
self.searched_symbols[search] = symbol_list
|
self.searched_symbols[search] = symbol_list
|
||||||
return symbol_list
|
return symbol_list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user