alphaear-stock
仓库创建 2026年1月31日最近提交 4 个月前SkillHot 收录 20 天前
▸ 精选理由
支持模糊搜索与历史数据,适合投研与报表生成。
这个 Skill 做什么
检索 A 股/港股/美股代码并获取历史 OHLCV 数据。
能查 A 股/港股/美股的代码,并拉取历史 OHLCV(开高低收量)数据,方便做行情回测或查看历史走势。适合用户问股票代码、近期涨跌或需要某只票的历史价格时使用。特点是支持按代码或模糊公司名检索并直接返回结构化的价格历史,方便接入分析或绘图。
▸ 展开 SKILL.md 英文原文
Search A-Share/HK/US finance stock tickers and retrieve finance stock price history. Use when user asks about finance stock codes, recent price changes, or specific company finance stock info.
2.7k
Stars
348
Forks
10
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/RKiding/Awesome-finance-skills/main/skills/alphaear-stock/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/RKiding/Awesome-finance-skills/main/skills/alphaear-stock/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# AlphaEar Stock Skill
## Overview
Search A-Share/HK/US stock tickers and retrieve historical price data (OHLCV).
## Capabilities
### 1. Stock Search & Data
Use `scripts/stock_tools.py` via `StockTools`.
- **Search**: `search_ticker(query)`
- Fuzzy search by code or name (e.g., "Moutai", "600519").
- Returns: List of `{code, name}`.
- **Get Price**: `get_stock_price(ticker, start_date, end_date)`
- Returns DataFrame with OHLCV data.
- Dates format: "YYYY-MM-DD".
- **Get Fundamentals**: `get_stock_fundamentals(ticker)`
- Returns dict with sector, industry, market cap, PE ratio, and summary.
- Supports A-Share/HK/US stocks.
## Dependencies
- via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有