1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 15:06:53 +00:00

wasnt returning enough matches

This commit is contained in:
Anson Biggs 2021-03-29 08:05:33 -07:00
parent f4adfb1915
commit e061eb20cc

View File

@ -108,7 +108,7 @@ class Router:
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"])))
self.searched_symbols[search] = symbol_list
return symbol_list