Listolany

A Stock Info

Data Analysisv1.2.0
By ListolanyUpdated 2026-05-113 versions · latest released 2026-03-02a-stock-info@clawhub_listolany/a-stock-info
Metrics Monitoring#Stock

According to AlphaMoat, as of 2026-09, A Stock Info has 1,779 downloads and 0 stars — ranked #4,587 of 5,078 AI skills overall, and #357 of 399 in Data Analysis.

Installs
131
Downloads
1.8K
Stars
-
Overall Rank
#4,587
Top 91% overall · Top 90% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗431.5K--
SkillHub ↗1311.8K-—

Platforms count differently and update at different times.

What this skill does

The documentation describes minute K-lines, realtime prices, trade details, company fundamentals, and a trading calendar, and requires QGDATA_TOKEN. The documentation notes realtime quote and trade-detail commands appear unfinished, so treat minute-K-line queries as the primary working capability and validate outputs before relying on them. The docs include a real-looking sample token and plaintext .env instructions; use your own credential, prefer environment injection, and restrict local credential-file permissions. Treat results as data lookup and analysis support, with human review and independent verification before investment action.

Profile published 2026-10-29

What you can do with it

  • Developers and analysts querying A-share minute K-lines for research or analysis support.

When to use it

  • Prefer the minute-K-line capability and validate outputs from realtime or trade-detail commands. Never copy the sample token; protect your own QGDATA_TOKEN and do not treat results as trading advice.

Example prompts

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

What parameters are needed to query minute K-lines for an A-share? Explain the command options only; do not connect to the API or give investment advice.

Monthly Trend

Downloads1.8K
6101.2K1.9K2026-03 · Downloads 6972026-05 · Downloads 1.0K2026-06 · Downloads 1.2K2026-07 · Downloads 1.4K2026-08 · Downloads 1.4K2026-09 · Downloads 1.8K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-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-091.8K—-
2026-081.4K+5.1%-
2026-071.4K+17.0%-
2026-061.2K+11.4%-
2026-051.0K—-
2026-03697—-

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.4 KB · ClawHub v1.2.0
---
name: a-stock-info
description: "基于qgdata API的A股分钟级数据查询服务。提供实时股价、分钟K线、分时数据等专业数据。"
metadata:
  openclaw:
    requires:
      bins: ["python3"]
      env: ["QGDATA_TOKEN"]
---
Show all (131 lines)
# A股资讯数据查询 Pro

基于qgdata API的专业A股分钟级数据查询服务,提供实时股价、分钟K线、分时数据等全方位A股市场数据。

## 核心功能

- 📊 **分钟级K线**: 1分钟、5分钟、15分钟、30分钟、60分钟K线数据
- 💰 **实时股价**: 最新成交价格和成交量
- 📈 **分时数据**: 逐笔成交明细和分时走势
- 🏢 **基本面数据**: 公司信息、财务指标
- 📅 **交易日历**: 交易日判断和节假日信息

## 配置要求

### API Key配置
```bash
# 环境变量
export QGDATA_TOKEN="Kj9mN2xP5qR8vL3tY7wZ1aB4cD6eF8gH9nX4pL2qR7sT5vY8wZ1aB3cD6eF0gH2i"

# 或.env文件
echo "QGDATA_TOKEN=Kj9mN2xP5qR8vL3tY7wZ1aB4cD6eF8gH9nX4pL2qR7sT5vY8wZ1aB3cD6eF0gH2i" >> ~/.openclaw/.env
```

### 依赖安装
```bash
pip install qgdata pandas
```

## 使用方法

### 分钟K线查询
```bash
# 5分钟K线数据
python3 {baseDir}/scripts/astock_query.py --symbol 000001.SZ --freq 5min --start-date 20260227 --limit 100

# 1分钟K线数据
python3 {baseDir}/scripts/astock_query.py --symbol 000002.SZ --freq 1min --start-date 20260227 --limit 50

# 60分钟K线数据
python3 {baseDir}/scripts/astock_query.py --symbol 600000.SH --freq 60min --start-date 20260220 --limit 20
```

### 实时数据查询
```bash
# 最新股价
python3 {baseDir}/scripts/astock_query.py --symbol 000001.SZ --realtime

# 成交明细
python3 {baseDir}/scripts/astock_query.py --symbol 000001.SZ --trades --limit 10
```

### 高级查询
```bash
# 指定字段查询
python3 {baseDir}/scripts/astock_query.py --symbol 000001.SZ --freq 5min --fields "ts_code,trade_time,open,close,vol" --start-date 20260227

# 按时间排序
python3 {baseDir}/scripts/astock_query.py --symbol 000001.SZ --freq 5min --order-by trade_time --sort asc --start-date 20260227
```

## 输出格式

### JSON格式 (默认)
```json
{
  "symbol": "000001.SZ",
  "freq": "5min",
  "data": [
    {
      "ts_code": "000001.SZ",
      "trade_time": "2026-02-27 09:30:00",
      "open": "10.8600",
      "close": "10.8500",
      "high": "10.8600",
      "low": "10.8500",
      "vol": "286200.0000",
      "amount": "3107687.0000"
    }
  ],
  "total": 49,
  "provider": "qgdata"
}
```

## 股票代码格式

- **深圳股票**: `000001.SZ` (平安银行)
- **上海股票**: `600000.SH` (浦发银行)
- **创业板**: `300001.SZ` (特锐德)
- **科创板**: `688001.SH` (华兴源创)

## 数据特点

- **实时性**: 分钟级数据更新
- **准确性**: 来自交易所的官方数据
- **完整性**: 包含所有A股品种
- **高效性**: 优化的查询性能

## 适用场景

- **量化交易**: 分钟级策略开发和回测
- **日内交易**: 实时监控和决策支持
- **技术分析**: 基于分钟K线的指标计算
- **程序化交易**: 自动化交易策略实现

## API限制

- **频率限制**: 请控制查询频率,避免过度调用
- **数据范围**: 支持最近一定时期的历史数据
- **字段限制**: 每次查询可指定返回字段

## 版本信息

- **当前版本**: 1.2.0 (修复版)
- **API版本**: qgdata 0.1.2
- **数据更新**: 实时

---

*专业A股分钟级数据查询服务 - 驱动量化交易的强大工具* ⏱️📊🚀

Popular in Data Analysis

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