same1317

Stock-A

Data Analysisv1.0.0
By same1317Updated 2026-05-11stock-a@clawhub_same1317/stock-a
Web Scraping#Stock#股票

According to AlphaMoat, as of 2026-09, Stock-A has 2,283 downloads and 1 stars — ranked #4,244 of 5,078 AI skills overall, and #323 of 399 in Data Analysis.

Installs
123
Downloads
2.3K
Stars
1
Overall Rank
#4,244
Top 84% overall · Top 81% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗25982--
SkillHub ↗1232.3K1—

Platforms count differently and update at different times.

What this skill does

The guide compares mootdx, Sina, Tencent, Eastmoney, and Tushare support and shows commands for quotes, daily/weekly/monthly K-lines, and some financial data; capabilities and availability differ by provider. Running helper scripts sends requested stock codes to external finance-data providers, so confirm the codes are appropriate to share and review optional dependency sources and versions first.

Profile published 2026-10-29

What you can do with it

  • Compare quote and historical-data types documented for the available providers
  • Plan a quote or K-line lookup for a specified A-share code
  • Review steps before installing optional Python data packages

When to use it

  • When the user explicitly requests A-share data and approves sending the stock code to the relevant provider

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Compare only the documented data-source capabilities without running scripts or installing packages.
Before requesting a quote, list the stock code that may be sent externally and the provider to be used.

Monthly Trend

Downloads2.3K
461.2K2.4K2026-03 · Downloads 2122026-05 · Downloads 6032026-06 · Downloads 7482026-07 · Downloads 9962026-08 · Downloads 1.4K2026-09 · Downloads 2.3K26-0326-09
Stars1
0112026-03 · Stars -2026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.3K—1
2026-081.4K+36.6%1
2026-07996+33.2%1
2026-06748+24.0%1
2026-05603—1
2026-03212—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.0 KB · ClawHub v1.0.0
# Stock-A Skill

💼 A股股票行情数据获取工具,支持多个免费数据源。

## 功能

- **实时行情** - 获取个股实时价格、涨跌幅、成交量等
- **历史K线** - 获取日线/周线/月线历史数据
- **多数据源** - mootdx、新浪财经、腾讯财经、东方财富、Tushare
Show all (151 lines)
---

## 📊 数据源汇总

### 1. mootdx(通达信/同花顺)⭐ 推荐

| 功能 | 状态 | 说明 |
|------|------|------|
| 实时行情 | ✅ 可用 | 默认数据源,需本地安装 |
| 历史K线 | ✅ 可用 | 支持日线/周线/月线 |
| F分钟线 | ✅ 可用 | 1/5/15/30/60分钟 |
| 财务数据 | ✅ 可用 | 财务指标、利润表等 |

```bash
# mootdx 实时行情
python -c "
from mootdx import quotes
q = quotes.StdQuotes()
result = q.daily(symbol='600519')
print(result)
"

# mootdx 历史K线
python -c "
from mootdx import reader
r = reader.Reader()
df = r.daily(symbol='600519', adjust='qfq')
print(df.tail())
"
```

---

### 2. 新浪财经

| 功能 | 状态 | 说明 |
|------|------|------|
| 实时行情 | ✅ 可用 | 推荐使用 |
| 历史K线 | ✅ 可用 | |

```bash
# 新浪财经 - 实时行情 (推荐)
python scripts/sina_realtime.py sh600519

# 新浪财经 - 历史K线
python scripts/sina_history.py sh600519 2024-03-01 2024-03-25
```

---

### 3. 腾讯财经

| 功能 | 状态 | 说明 |
|------|------|------|
| 实时行情 | ✅ 可用 | |

```bash
# 腾讯财经 - 实时行情
python scripts/tengxun_realtime.py sh600519
```

---

### 4. 东方财富

| 功能 | 状态 | 说明 |
|------|------|------|
| 实时行情 | ⚠️ 不稳定 | 需网络稳定环境 |

```bash
# 东方财富 - 实时行情
python scripts/eastmoney_realtime.py sh600519
```

---

### 5. Tushare

| 功能 | 状态 | 说明 |
|------|------|------|
| 实时行情 | ⚠️ 备用 | 即将停用,免费Token |

```bash
# Tushare - 实时行情
python scripts/tushare_realtime.py 600519
```

---

## 📋 数据源测试结果汇总

| 数据源 | 实时行情 | 历史K线 | 财务数据 | 状态 |
|--------|----------|---------|----------|------|
| **mootdx** | ✅ | ✅ | ✅ | ⭐ 推荐 |
| 新浪财经 | ✅ | ✅ | ❌ | ✅ 可用 |
| 腾讯财经 | ✅ | ❌ | ❌ | ✅ 可用 |
| 东方财富 | ⚠️ | ❌ | ❌ | ⚠️ 不稳定 |
| Tushare | ⚠️ | ❌ | ❌ | ⚠️ 备用 |
| 网易财经 | ❌ | ❌ | ❌ | ❌ 502错误 |
| Tushare Pro | ❌ | ❌ | ❌ | ❌ 需Token |

---

## 🔧 代码说明

- `sh600519` - 上海市场 (60xxxx)
- `sz000001` - 深圳市场 (00xxxx)
- `sz300750` - 创业板 (30xxxx)
- `bjxxxx` - 北交所 (8xxxx/4xxxx)

---

## 📖 使用示例

### 实时行情输出示例

```
贵州茅台 (SH600519)
==============================
最新价: 1408.81
涨跌: +1.48
涨跌幅: +0.11%
开盘: 1410.11
最高: 1417.87
最低: 1401.01
成交量: 1,409手
成交额: 157.35亿
```

---

## 安装新数据源

```bash
# 安装 mootdx (如未安装)
pip install mootdx

# 安装 Tushare (备用)
pip install tushare
```

Popular in Data Analysis

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.