staskh avatar

News Sentiment

Pulls recent news headlines and sentiment from Yahoo Finance for any stock ticker. You'd reach for this when someone asks what's happening with a company or if there's been any significant news. It returns articles with publisher info and timestamps, plus a quick sentiment summary so you don't have to read through everything. The output is timezone-aware (New York time), which matters if you're trading or need to correlate news with market moves. Simple Python script under the hood using yfinance, defaults to 10 articles but you can adjust. Honestly most useful for getting a quick pulse check rather than deep analysis.

skills.sh installs
246
GitHub stars
406
last updated
Aug 21, 2026

Install

$ npx -y skills add staskh/trading_skills --skill news-sentiment --agent claude-code

Installs into .claude/skills of the current project.

Files

News Sentiment

Fetch recent news from Yahoo Finance: yfinance's ticker news first, then Yahoo's per-ticker RSS feed when that comes back empty or fails.

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

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 (YYYY-MM-DD HH:MM ET), link, type
  • count - Number of articles returned
  • source - "yfinance" or "yahoo-rss"
  • note - With yahoo-rss: items are tagged to the ticker, not necessarily about it, and arrive newest first. publisher is the link's host (often finance.yahoo.com), since the feed carries no publisher
  • message: "No news found" - both sources answered with no articles
  • error - no articles and at least one source failed; never read this as "no news"

Sponsors

Details

Repository
github.com/staskh/trading_skills
Category
Finance & Trading
License
MIT
First seen
Jun 3, 2026

More from staskh/trading_skills

All 28
1staskh avatarfundamentalsstaskh/trading_skillsGet fundamental financial data including financials, earnings, and key metrics. Use when user asks about financials, earnings, revenue, profit, balance sheet, i182skills.sh installs
2staskh avatarrisk-assessmentstaskh/trading_skillsAssess risk metrics for a stock or position including volatility, beta, VaR, and drawdown analysis. Use when user asks about risk, volatility, beta, VaR, value 105skills.sh installs
3staskh avatarib-report-delta-adjusted-notional-exposurestaskh/trading_skillsReport delta-adjusted notional exposure across all IBKR accounts. Calculates option deltas using Black-Scholes and reports long/short exposure by account and un0skills.sh installs
4staskh avatarprice-historystaskh/trading_skillsGet historical price data (OHLCV) for a stock. Use when user asks about price history, historical data, past performance, price over time, or needs data for cha0skills.sh installs
5tradermonty avatarmarket-news-analysttradermonty/claude-trading-skillsThis skill should be used when analyzing recent market-moving news events and their impact on equity markets and commodities. Use this skill when the user reque4.4Kskills.sh installs
6tradermonty avatarcanslim-screenertradermonty/claude-trading-skillsScreen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth stock analysis, momentum stock 3.8Kskills.sh installs