update cron job
This commit is contained in:
parent
b8d8779b05
commit
e57b8bcae2
@ -280,7 +280,7 @@ async def get_analyst_report():
|
|||||||
with sqlite3.connect('stocks.db') as con:
|
with sqlite3.connect('stocks.db') as con:
|
||||||
cursor = con.cursor()
|
cursor = con.cursor()
|
||||||
cursor.execute("PRAGMA journal_mode = wal")
|
cursor.execute("PRAGMA journal_mode = wal")
|
||||||
cursor.execute("SELECT DISTINCT symbol FROM stocks WHERE symbol NOT LIKE '%.%' AND symbol NOT LIKE '%-%' AND marketCap > 50E9")
|
cursor.execute("SELECT DISTINCT symbol FROM stocks WHERE symbol NOT LIKE '%.%' AND symbol NOT LIKE '%-%' AND marketCap > 100E9")
|
||||||
symbols = {row[0] for row in cursor.fetchall()} # Use a set for fast lookups
|
symbols = {row[0] for row in cursor.fetchall()} # Use a set for fast lookups
|
||||||
|
|
||||||
# Define the directory path
|
# Define the directory path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user