mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
update stock call method
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user