sentivity commited on
Commit
fc8aa5c
·
verified ·
1 Parent(s): 2cbfc6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def fetch_articles(ticker):
105
  return [f"Error fetching articles for {ticker}: {str(e)}"]
106
 
107
  # allowed tickers
108
- ALLOWED_TICKERS = {"AAPL", "GOOG", "AMZN", "NVDA", "META",'TSLA','QQQ'}
109
 
110
  # initialize cache
111
  sentiment_cache = {ticker: {"article": None, "sentiment": None, "timestamp": None} for ticker in ALLOWED_TICKERS}
 
105
  return [f"Error fetching articles for {ticker}: {str(e)}"]
106
 
107
  # allowed tickers
108
+ ALLOWED_TICKERS = {"AAPL", "GOOG", "AMZN", "NVDA", "META",'TSLA','QQQ','SPY'}
109
 
110
  # initialize cache
111
  sentiment_cache = {ticker: {"article": None, "sentiment": None, "timestamp": None} for ticker in ALLOWED_TICKERS}