
Stock Data
Pulls real-time and historical data for Chinese A-shares, Hong Kong stocks, US equities, and crypto through a unified CLI that outputs CSV. Ships with 47 different tools covering everything from technical indicators and fund flows to chip distribution and sector rotation analysis. The workflow is driven by reference docs that map user intent like "analyze my portfolio" or "market overview" to specific command chains. Requires Tushare token for Chinese markets and optionally Alpha Vantage for other data. If you're building financial analysis workflows with Claude and need structured access to Asian markets alongside crypto, this handles the data plumbing so you can focus on the analysis layer.
- skills.sh installs
- 384
- GitHub stars
- 17
- last updated
- Jun 3, 2026
Install
$ npx -y skills add openstockdata/stock-data-skill --skill stock-data --agent claude-codeInstalls into .claude/skills of the current project.
Files
工具调用方式
所有数据工具通过 stock-data CLI 直接调用:
stock-data <tool_name> key=value key2=value2
输出为 CSV 格式文本(# 开头为元数据注释行),直接解析即可。可并行调用多个独立命令。
常用示例
stock-data stock_realtime symbol=600519 market=sh
stock-data stock_prices symbol=300058 market=sz limit=60
stock-data search keyword=茅台
stock-data stock_indicators symbol=600519 market=sh
stock-data stock_chip symbol=300058
stock-data stock_fund_flow symbol=300058
stock-data trading_signals symbol=300058 days=60
stock-data okx_prices instId=BTC-USDT bar=1D limit=60
stock-data stock_news_global
stock-data stock_batch_realtime symbols=600519,000858,601318
stock-data --list # 查看全部可用工具
分析流程
根据用户意图,读取对应参考文档获取详细分析流程:
| 用户意图 | 参考文档 | 典型触发词 |
|---|---|---|
| 分析单只股票 | references/stock-analyze.md | "分析茅台"、"看看600519"、"AAPL怎么样" |
| 分析加密货币 | references/crypto-analyze.md | "分析BTC"、"比特币走势"、"ETH行情" |
| 市场全景概览 | references/market-overview.md | "市场概览"、"今日大盘"、"A股行情" |
| 持仓组合分析 | references/portfolio-analyze.md | "分析持仓"、"我的股票"、多个股票代码 |
| 板块轮动分析 | references/sector-analyze.md | "分析人工智能板块"、"银行板块" |
| 数据源健康检查 | references/stock-health-check.md | "健康检查"、"数据源状态" |
市场识别规则
Sponsors
Details
- Repository
- github.com/openstockdata/stock-data-skill
- Category
- Finance & Trading
- First seen
- Jun 3, 2026