Xpersona
A

A股分时量能分析

CLAWHUB · Unverified

提供A股实时行情、分时成交量分布及主力资金动向分析,支持持仓管理和盈亏监控。 Skill: A股分时量能分析 Owner: cnyezi Summary: 提供A股实时行情、分时成交量分布及主力资金动向分析,支持持仓管理和盈亏监控。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-01-27T09:43:01.203Z | user 首次发布 Archive index: Archive v1.0.0: 5 files, 10133 bytes Files: scripts/analyze.py (13102b), scripts/portfolio.py (7763b), skill-card.md (1748b), SKILL.md (3573b), _meta.json (135b) File v1.0.0:SKILL.md --- name: a-stock-analysis description: A股实时行情与分时量能分析。获取沪深股票实时

62
Rank
84
Safety
15k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 14.7K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17a4w8paygetrjsfedbt75995885479:a-stock-analysis
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cnyezi-a-stock-analysis-analysis-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

4,498 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: a-stock-analysis
description: A股实时行情与分时量能分析。获取沪深股票实时价格、涨跌、成交量,分析分时量能分布(早盘/尾盘放量)、主力动向(抢筹/出货信号)、涨停封单。支持持仓管理和盈亏分析。Use when: (1) 查询A股实时行情, (2) 分析主力资金动向, (3) 查看分时成交量分布, (4) 管理股票持仓, (5) 分析持仓盈亏。
---

# A股实时行情与分时量能分析

使用东方财富和新浪财经接口获取A股数据,支持实时行情、分时K线、量能分析。

## 快速开始

### 实时行情

```bash
# 单只股票
uv run {baseDir}/scripts/analyze.py 600789

# 多只股票
uv run {baseDir}/scripts/analyze.py 600789 002446 002342

# 含分时量能分析
uv run {baseDir}/scripts/analyze.py 600789 --minute

# JSON输出
uv run {baseDir}/scripts/analyze.py 600789 --json
```

### 持仓管理

```bash
# 显示持仓
uv run {baseDir}/scripts/portfolio.py show

# 添加持仓
uv run {baseDir}/scripts/portfolio.py add 600789 --cost 10.416 --qty 3400

# 更新持仓
uv run {baseDir}/scripts/portfolio.py update 600789 --cost 10.2

# 删除持仓
uv run {baseDir}/scripts/portfolio.py remove 600789

# 分析所有持仓(含分时量能)
uv run {baseDir}/scripts/portfolio.py analyze
```

## 股票代码格式

直接使用6位数字代码即可,系统自动识别市场:

- **沪市**: 6开头 (如 600789)
- **深市**: 0或3开头 (如 002446, 300001)
- **北交所**: 8或4开头

## 分时量能分析说明

### 成交分布时段

| 时段 | 说明 |
|------|------|
| 早盘30分 (9:30-10:00) | 主力早盘动作,>30%为抢筹信号 |
| 上午中段 (10:00-11:30) | 正常交易 |
| 下午中段 (13:00-14:30) | 正常交易 |
| 尾盘30分 (14:30-15:00) | >25%为尾盘异动信号 |

### 主力动向信号

- **早盘放量 >30%**: 主力早盘抢筹
- **早盘放量 >40%**: 主力强势介入
- **尾盘放量 >15%**: 尾盘有一定放量
- **尾盘放量 >25%**: 可能有主力抢筹或出货
- **封板状态**: 涨停/跌停,关注封单量

### 放量时段 TOP 10

显示当日成交量最大的10个分钟,用于识别:
- 主力建仓/出货时机
- 重大消息发布时点
- 涨停封板/开板时刻

## 数据源

统一使用新浪财经接口,数据一致性好:

| 数据 | 接口 | 延迟 |
|------|------|------|
| 实时行情 | `hq.sinajs.cn` | ~3秒 |
| 分时K线 | `CN_MarketDataService.getKLineData` | ~1分钟 |

支持批量获取,减少请求次数。

## 输出示例

```
============================================================
股票: 鲁抗医药 (600789)
============================================================

【实时行情】
  现价: 10.32  涨跌: +0.88%
  今开: 10.20  最高: 10.77  最低: 9.82
  昨收: 10.23  换手: 2.38%
  成交量: 218.2万手  成交额: 22.51亿

【分时量能分析】鲁抗医药
  全天成交: 2181838手 (225105.3万元)

  成交分布:
    早盘30分(9:30-10:00): 907228手 (41.6%)
    上午中段(10:00-11:30): 866457手 (39.7%)
    下午中段(13:00-14:30): 181321手 (8.3%)
    尾盘30分(14:30-15:00): 225180手 (10.3%)

  放量时段 TOP 10:
    09:31:00 价格:10.03 成交:216545手 金额:21965.3万
    ...

  【主力动向判断】
    🔥 早盘主力抢筹明显
```

## 持仓文件

持仓数据存储在: `~/.clawdbot/skills/a-stock-analysis/portfolio.json`

## 限制

- 仅支持A股(沪深北交所)
- 交易时段外获取的是收盘数据
- 分时数据最多250条(约1个交易日)

_meta.json

{
  "ownerId": "kn707vekcz9f58mg3b3cjs3jc17zye0v",
  "slug": "a-stock-analysis",
  "version": "1.0.0",
  "publishedAt": 1769506981203
}

skill-card.md

## Description:

提供A股实时行情、分时成交量分布及主力资金动向分析,支持持仓管理和盈亏监控。

This skill is ready for commercial/non-commercial use.

## Publisher:

[cnyezi](https://clawhub.ai/user/cnyezi)

### License/Terms of Use:


## Use Case:

External users and agents use this skill to query A-share market quotes, inspect intraday volume distribution and main-force movement signals, and manage local portfolio cost, quantity, and profit/loss records.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can store and mutate stock codes, costs, quantities, and timestamps in a local plaintext portfolio file.

Mitigation: Review portfolio commands before use, avoid recording sensitive holdings on shared machines, and keep backups of important portfolio data.

## Reference(s):

- [A股分时量能分析 ClawHub skill page](https://clawhub.ai/cnyezi/skills/a-stock-analysis)
- [Sina Finance market data endpoint](https://hq.sinajs.cn/list={codes_str})
- [Sina Finance](https://finance.sina.com.cn)

## Skill Output:

**Output Type(s):** [text, json, shell commands, guidance]

**Output Format:** [Plain text or JSON responses with command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May create or update a local plaintext portfolio file at ~/.clawdbot/skills/a-stock-analysis/portfolio.json.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to A股分时量能分析 and adjacent AI workflows.