Agent Skills
› staskh/trading_skills
› news-sentiment
news-sentiment
GitHub获取股票的最新新闻及情绪分析。适用于用户询问特定股票的新闻动态、头条、市场情绪或近期重大事件时,调用脚本返回新闻列表及整体情绪摘要。
触发场景
查询股票新闻
了解股票情绪
查看股票最新动态
询问某只股票发生了什么
安装
npx skills add staskh/trading_skills --skill news-sentiment -g -y
SKILL.md
Frontmatter
{
"name": "news-sentiment",
"description": "Get recent news and sentiment for a stock. Use when user asks about news, headlines, sentiment, what's happening with a stock, or recent developments.",
"dependencies": [
"trading-skills"
]
}
News Sentiment
Fetch recent news from Yahoo Finance.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin 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, linksummary- Brief summary of overall sentiment
Present key headlines and note any significant news that could impact the stock.
Dependencies
yfinance
Timezone
All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
版本历史
- cc30858 当前 2026-07-05 11:04
依赖关系
-
required
trading-skills


