alphaear-sentiment

Solid

Analyze finance text sentiment using FinBERT or LLM. Use when the user needs to determine the sentiment (positive/negative/neutral) and score of financial text markets.

AI & Automation 2,374 stars 329 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
89
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AlphaEar Sentiment Skill ## Overview This skill provides sentiment analysis capabilities tailored for financial texts, supporting both FinBERT (local model) and LLM-based analysis modes. ## Capabilities ## Capabilities ### 1. Analyze Sentiment (FinBERT / Local) Use `scripts/sentiment_tools.py` for high-speed, local sentiment analysis using FinBERT. **Key Methods:** - `analyze_sentiment(text)`: Get sentiment score and label using localized FinBERT model. - **Returns**: `{'score': float, 'label': str, 'reason': str}`. - **Score Range**: -1.0 (Negative) to 1.0 (Positive). - `batch_update_news_sentiment(source, limit)`: Batch process unanalyzed news in the database (FinBERT only). ### 2. Analyze Sentiment (LLM / Agentic) For higher accuracy or reasoning capabilities, **YOU (the Agent)** should perform the analysis using the Prompt below, calling the LLM directly, and then update the database if necessary. #### Sentiment Analysis Prompt Use this prompt to analyze financial texts if the local tool is insufficient or if reasoning is required. ```markdown 请分析以下金融/新闻文本的情绪极性。 返回严格的 JSON 格式: {"score": <float: -1.0到1.0>, "label": "<positive/negative/neutral>", "reason": "<简短理由>"} 文本: {text} ``` **Scoring Guide:** - **Positive (0.1 to 1.0)**: Optimistic news, profit growth, policy support, etc. - **Negative (-1.0 to -0.1)**: Losses, sanctions, price drops, pessimism. - **Neutral (-0.1 to 0.1)**: Factual reporting, sideways movement, ambiguous impact. ####...

Details

Author
RKiding
Repository
RKiding/Awesome-finance-skills
Created
4 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

analyzing-text-sentiment

This skill enables Claude to analyze the sentiment of text data. It identifies the emotional tone expressed in text, classifying it as positive, negative, or neutral. Use this skill when a user requests sentiment analysis, opinion mining, or emotion detection on any text, such as customer reviews, social media posts, or survey responses. Trigger words include "sentiment analysis", "analyze sentiment", "opinion mining", "emotion detection", and "polarity".

2,266 Updated today
jeremylongshore
Data & Documents Solid

alphaear-news

Fetch hot finance news, unified trends, and prediction financial market data. Use when the user needs real-time financial news, trend reports from multiple finance sources (Weibo, Zhihu, WallstreetCN, etc.), or Polymarket finance market prediction data.

2,374 Updated 2 months ago
RKiding
AI & Automation Featured

analyzing-market-sentiment

Analyze cryptocurrency market sentiment using Fear & Greed Index, news analysis, and market momentum. Use when gauging overall market mood, checking if markets are fearful or greedy, or analyzing sentiment for specific coins. Trigger with phrases like "analyze crypto sentiment", "check market mood", "is the market fearful", "sentiment for Bitcoin", or "Fear and Greed index".

2,266 Updated today
jeremylongshore
AI & Automation Solid

alphaear-search

Perform finance web searches and local context searches. Use when the user needs general finance info from the web (Jina/DDG/Baidu) or needs to retrieve finance information from a local document store (RAG).

2,374 Updated 2 months ago
RKiding
AI & Automation Listed

alphaear-signal-tracker

Track finance investment signal evolution and update logic based on new finance market information. Use when monitoring finance signals and determining if they are strengthened, weakened, or falsified.

1 Updated 1 months ago
JadeGate