News Sentiment
Fetch recent news from Yahoo Finance.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
bash
uv run python scripts/news.py SYMBOL [--limit LIMIT]
Arguments
- •
SYMBOL- Ticker symbol - •
--limit- Number of articles (default: 10)
Output
Returns JSON with:
- •
articles- Array of recent news with title, publisher, date, link - •
summary- Brief summary of overall sentiment
Present key headlines and note any significant news that could impact the stock.
Dependencies
- •
yfinance