Skip to content
Back to skills

Financial News Sentiment

ASecurity

Financial news crawling, RSS aggregation, and LLM-powered market sentiment analysis skill. Extracts headlines, evaluates positive/negative catalysts, analyzes market impact on target stocks, and generates structured morning briefings.

  • 16 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added November 12, 2026
developmentpythongoreactapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add hukim1112/frontier_agent_analysis --skill financial-news-sentiment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Financial News Sentiment?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Financial News Sentiment
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/hukim1112-financial-news-sentiment/badge)](https://www.skillsdirectory.com/skills/hukim1112-financial-news-sentiment)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: financial-news-sentiment
description: Financial news crawling, RSS aggregation, and LLM-powered market sentiment analysis skill. Extracts headlines, evaluates positive/negative catalysts, analyzes market impact on target stocks, and generates structured morning briefings.
category: finance
tags: [news, sentiment-analysis, market-briefing, rss, catalysts]
dependencies: [feedparser, beautifulsoup4, requests, pandas]
---

# financial-news-sentiment Skill

Financial news intelligence skill that aggregates market news feeds, parses corporate announcements, and scores positive/negative catalysts for target companies and market sectors.

## ๐ŸŽฏ Educational & Practical Use Cases (Practical Focus)
- **Morning Market Briefing Generator**: Summarize overnight global financial developments, Wall Street closes, and KOSPI market opening outlook.
- **Stock-Specific News Sentiment**: Score news headlines (+1.0 to -1.0) and identify bullish/bearish catalysts.
- **Breaking News Event Extraction**: Detect M&A, earnings releases, regulatory actions, and credit rating adjustments.

---

## ๐Ÿ› ๏ธ LangChain & FastMCP Implementation

```python
"""
news_sentiment_tools.py - Financial news scraping and sentiment tools.
"""
from typing import Dict, Any, List
import feedparser
import requests
from bs4 import BeautifulSoup
from langchain_core.tools import tool

# Major Financial RSS Feeds
FINANCIAL_RSS_FEEDS = {
    "reuters_business": "https://feeds.reuters.com/reuters/businessNews",
    "marketwatch_top": "https://feeds.content.dowjones.io/public/rss/mw_topstories",
    "yahoo_finance": "https://finance.yahoo.com/news/rssindex"
}

@tool
def fetch_top_financial_headlines(source_key: str = "yahoo_finance", limit: int = 5) -> List[Dict[str, Any]]:
    """
    Fetch top breaking headlines from major financial news RSS feeds.
    :param source_key: 'yahoo_finance', 'marketwatch_top', or 'reuters_business'
    :param limit: Number of stories to retrieve
    """
    feed_url = FINANCIAL_RSS_FEEDS.get(source_key, FINANCIAL_RSS_FEEDS["yahoo_finance"])
    feed = feedparser.parse(feed_url)
    
    articles = []
    for entry in feed.entries[:limit]:
        summary_clean = BeautifulSoup(entry.get("summary", ""), "html.parser").get_text()
        articles.append({
            "title": entry.get("title"),
            "link": entry.get("link"),
            "published": entry.get("published", entry.get("updated", "")),
            "summary": summary_clean[:200]
        })
    return articles

@tool
def analyze_headline_sentiment(headlines: List[str]) -> Dict[str, Any]:
    """
    Rule-based and keyword sentiment scorer for quick headline triage.
    """
    bullish_keywords = ["surge", "jump", "record high", "beat", "rally", "profit", "growth", "upgrade", "bullish", "์ƒ์Šน", "ํ˜ธ์‹ค์ ", "๊ธ‰๋“ฑ"]
    bearish_keywords = ["plunge", "drop", "miss", "fall", "slump", "loss", "recession", "downgrade", "bearish", "ํ•˜๋ฝ", "์ ์ž", "๊ธ‰๋ฝ"]
    
    scored_items = []
    total_score = 0
    
    for h in headlines:
        h_lower = h.lower()
        pos = sum(1 for w in bullish_keywords if w in h_lower)
        neg = sum(1 for w in bearish_keywords if w in h_lower)
        score = pos - neg
        total_score += score
        
        label = "Bullish" if score > 0 else "Bearish" if score < 0 else "Neutral"
        scored_items.append({"headline": h, "score": score, "sentiment": label})
        
    avg_score = total_score / len(headlines) if headlines else 0
    overall = "Positive" if avg_score > 0.3 else "Negative" if avg_score < -0.3 else "Neutral"

    return {
        "overall_market_sentiment": overall,
        "average_sentiment_score": round(avg_score, 2),
        "headline_breakdown": scored_items
    }
```

---

## ๐Ÿค– ReAct Agent Scenario

```yaml
agent_interaction:
  user_query: "์˜ค๋Š˜ ๊ธ€๋กœ๋ฒŒ ๊ธˆ์œต์‹œ์žฅ์˜ ์ฃผ์š” ํ—ค๋“œ๋ผ์ธ์„ ์ˆ˜์ง‘ํ•˜๊ณ  ์ „์ฒด์ ์ธ ์‹œ์žฅ ์„ผํ‹ฐ๋จผํŠธ๋ฅผ ๋ถ„์„ํ•ด์ค˜."
  agent_steps:
    1. Call `fetch_top_financial_headlines(source_key="yahoo_finance", limit=6)`.
    2. Extract headlines and call `analyze_headline_sentiment(headlines=...)`.
    3. Generate a structured financial market intelligence briefing.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.