Improve fetching of financial data.

This commit is contained in:
2025-07-23 12:52:02 +02:00
parent bd27db49e7
commit de57a5b26b
3 changed files with 57 additions and 97 deletions

View File

@@ -7,6 +7,7 @@ from .logger_setup import logger as log
from datetime import datetime, timedelta, timezone
DB_FILE = "reddit_stocks.db"
MARKET_CAP_REFRESH_INTERVAL = 86400
def get_db_connection():
"""Establishes a connection to the SQLite database."""