update stock call method

This commit is contained in:
Chuck
2025-09-12 18:57:39 -04:00
parent 6b5a9cdff7
commit 06ad446925

View File

@@ -201,7 +201,7 @@ class StockNewsManager:
# Fetch news for each symbol # Fetch news for each symbol
for symbol in symbols: for symbol in symbols:
try: try:
news = self._fetch_news_for_symbol(symbol) news = self._fetch_news(symbol)
if news: if news:
self.news_data[symbol] = news self.news_data[symbol] = news
logger.debug(f"Updated news for {symbol}: {len(news)} headlines") logger.debug(f"Updated news for {symbol}: {len(news)} headlines")