一键导入
alphaear-sentiment
Analyze financial text sentiment using FinBERT or LLM, returning a scored label (positive/negative/neutral) from -1.0 to 1.0
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze financial text sentiment using FinBERT or LLM, returning a scored label (positive/negative/neutral) from -1.0 to 1.0
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search A-Share and HK stock tickers by name or code and retrieve OHLCV historical price data
Time-series market forecasting using the Kronos model with news-aware sentiment adjustment for OHLC price prediction
Fetch real-time hot finance news and unified trend reports from multiple sources (财联社, WallStreetCN, Weibo, Zhihu, etc.) and Polymarket prediction data
Perform finance web searches across multiple engines (Jina, DuckDuckGo, Baidu) and local RAG document retrieval with smart search caching
Generate Draw.io XML diagrams to visualize finance logic flows, investment theses, and signal transmission chains
Plan, write, and assemble professional financial reports by clustering signals into themes, writing analysis sections, and compiling a final structured report
| name | AlphaEar Sentiment |
| description | Analyze financial text sentiment using FinBERT or LLM, returning a scored label (positive/negative/neutral) from -1.0 to 1.0 |
| category | data-and-research/market-data |
| tags | ["sentiment-analysis","finbert","nlp","chinese-markets"] |
This skill provides sentiment analysis capabilities tailored for financial texts, supporting both FinBERT (local model) and LLM-based analysis modes.
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.
{'score': float, 'label': str, 'reason': str}.batch_update_news_sentiment(source, limit): Batch process unanalyzed news in the database (FinBERT only).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.
Use this prompt to analyze financial texts if the local tool is insufficient or if reasoning is required.
请分析以下金融/新闻文本的情绪极性。
返回严格的 JSON 格式:
{"score": <float: -1.0到1.0>, "label": "<positive/negative/neutral>", "reason": "<简短理由>"}
文本: {text}
Scoring Guide:
update_single_news_sentiment(id, score, reason): Use this to save your manual analysis to the database.torch (for FinBERT)transformers (for FinBERT)sqlite3 (built-in)Ensure DatabaseManager is initialized correctly.