diff --git a/app/cron_analyst_insight.py b/app/cron_analyst_insight.py index 1e4bdce..38c0fa9 100644 --- a/app/cron_analyst_insight.py +++ b/app/cron_analyst_insight.py @@ -84,10 +84,9 @@ def get_summary(data): try: stock_con = sqlite3.connect('stocks.db') 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_con.close() for symbol in tqdm(stock_symbols):