mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
wasnt returning enough matches
This commit is contained in:
parent
f4adfb1915
commit
e061eb20cc
@ -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