LinkLinkWu commited on
Commit
8602bc9
·
verified ·
1 Parent(s): 1cd8c05

Update func.py

Browse files
Files changed (1) hide show
  1. func.py +1 -1
func.py CHANGED
@@ -105,7 +105,7 @@ def analyze_sentiment(
105
  # Web-scraping helper (Finviz)
106
  # ---------------------------------------------------------------------------
107
 
108
- def fetch_news(ticker: str, max_items: int = 50) -> List[dict]:
109
  """Return up to *max_items* latest Finviz headlines for *ticker*.
110
 
111
  Result format:
 
105
  # Web-scraping helper (Finviz)
106
  # ---------------------------------------------------------------------------
107
 
108
+ def fetch_news(ticker: str, max_items: int = 30) -> List[dict]:
109
  """Return up to *max_items* latest Finviz headlines for *ticker*.
110
 
111
  Result format: