This commit is contained in:
MuslemRahimi 2024-12-18 22:36:50 +01:00
parent 32445f4a66
commit 488db802dc

View File

@ -227,7 +227,7 @@ async def run():
cursor.execute("PRAGMA journal_mode = wal") cursor.execute("PRAGMA journal_mode = wal")
cursor.execute("SELECT DISTINCT symbol FROM stocks WHERE symbol NOT LIKE '%.%'") cursor.execute("SELECT DISTINCT symbol FROM stocks WHERE symbol NOT LIKE '%.%'")
total_symbols = [row[0] for row in cursor.fetchall()] total_symbols = [row[0] for row in cursor.fetchall()]
total_symbols = ['TSLA'] # For testing purposes #total_symbols = ['TSLA'] # For testing purposes
con.close() con.close()
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session: