update cron job
This commit is contained in:
parent
10e61eb2a9
commit
3668a5ac19
@ -84,10 +84,9 @@ def get_summary(data):
|
|||||||
try:
|
try:
|
||||||
stock_con = sqlite3.connect('stocks.db')
|
stock_con = sqlite3.connect('stocks.db')
|
||||||
stock_cursor = stock_con.cursor()
|
stock_cursor = stock_con.cursor()
|
||||||
stock_cursor.execute("SELECT DISTINCT symbol FROM stocks WHERE marketCap >= 100E6 AND symbol NOT LIKE '%.%'")
|
stock_cursor.execute("SELECT DISTINCT symbol FROM stocks WHERE symbol NOT LIKE '%.%'")
|
||||||
stock_symbols = [row[0] for row in stock_cursor.fetchall()]
|
stock_symbols = [row[0] for row in stock_cursor.fetchall()]
|
||||||
|
|
||||||
|
|
||||||
stock_con.close()
|
stock_con.close()
|
||||||
|
|
||||||
for symbol in tqdm(stock_symbols):
|
for symbol in tqdm(stock_symbols):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user