sarat2hf commited on
Commit
e4f4468
1 Parent(s): 230b0bf

less articles

Browse files
Files changed (1) hide show
  1. app_socket_multi_threaded.py +1 -1
app_socket_multi_threaded.py CHANGED
@@ -135,7 +135,7 @@ def get_news_data(ticker):
135
 
136
  # Get top 5 news articles for the given ticker
137
  search_results = get_news_articles_info(ticker_name=ticker)
138
- articles = search_results[:5]
139
 
140
  for article in articles:
141
  news_data.append({
 
135
 
136
  # Get top 5 news articles for the given ticker
137
  search_results = get_news_articles_info(ticker_name=ticker)
138
+ articles = search_results[:3]
139
 
140
  for article in articles:
141
  news_data.append({