← Back to Skills Marketplace
glory904649854

云梦A股数据获取Skill

by 冢猫 · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
753
Downloads
1
Stars
10
Active Installs
1
Versions
Install in OpenClaw
/install clouddream-a-data
Description
获取A股市场资金流向、新闻、筹码分布、龙虎榜及涨停板等多维度数据,支持单只股票详情查询。
README (SKILL.md)

云梦A股数据获取Skill

功能介绍

这是一个用于OpenClaw框架的A股市场数据获取技能,可以获取以下数据:

  1. 个股资金流向 - 获取指定股票的资金流向数据
  2. 个股新闻 - 查询指定股票的最新新闻
  3. 个股筹码分布 - 获取指定股票的筹码分布数据
  4. 当天龙虎榜 - 获取当日龙虎榜数据
  5. 当日涨停板行情 - 获取当日涨停板股票数据
  6. 昨日涨停板股池 - 获取昨日涨停板股票数据
  7. 盘口异动 - 获取盘口异动数据
  8. 板块异动 - 获取板块异动数据
  9. 单只股票详细信息 - 获取股票的详细信息,包括换手率、成交量、盘口情况、均线情况和上升通道判断

安装方法

pip install -e .

依赖项

  • pandas
  • requests
  • beautifulsoup4

使用方法

基本用法

from clouddream_quant import (
    get_stock_fund_flow,
    get_stock_news,
    get_stock_chip_distribution,
    get_dragon_tiger_list,
    get_limit_up_stocks,
    get_yesterday_limit_up_stocks,
    get_market_anomalies,
    get_sector_anomalies,
    get_stock_details,
    run_all
)

# 获取个股资金流向
result = get_stock_fund_flow("000001")
print(result)

# 获取单只股票详细信息
result = get_stock_details("000001")
print(result)

# 运行所有数据获取方法
result = run_all()
print(result)

返回格式

所有方法都返回标准的OpenClaw格式:

{
  "success": true,
  "data": [...],
  "message": ""
}

注意事项

  1. 本技能使用东方财富和新浪财经的API获取数据,请确保网络连接正常
  2. 由于API访问限制,可能会出现请求失败的情况,技能已内置重试机制
  3. 数据获取速度可能会受到网络状况和API限制的影响
  4. 当网络连接恢复后,技能将能够正常获取真实的A股市场数据

版本信息

  • 版本:1.0.0
  • 作者:云梦
  • 描述:获取A股市场各类数据,包括行情、资金流向、龙虎榜等
Usage Guidance
This skill appears coherent and implements what it claims: it scrapes/fetches A‑share data from EastMoney and Sina using standard Python libraries and does not request secrets. Before installing: (1) review or run the code in a sandbox to confirm it only calls the documented endpoints and to see where CSV files are written (README mentions a results/ directory); (2) be aware it will perform network requests—do not run it in environments with strict data/network policies; (3) note minor packaging oddities (package.json present, entry_point name may not match packaging layout) — you may want to inspect run_all and file‑write behavior in index.py to confirm file locations and frequency. If you plan to allow autonomous invocation by agents, consider the usual caution: the skill can make outbound network calls and write files, so limit its permissions or run in an isolated environment if you have sensitive data on the host.
Capability Analysis
Type: OpenClaw Skill Name: clouddream-a-data Version: 1.0.0 The skill bundle provides legitimate functionality for fetching Chinese A-share market data (fund flows, news, and technical indicators) from public financial APIs like Eastmoney and Sina Finance. The implementation in `index.py` uses standard libraries such as `requests`, `pandas`, and `BeautifulSoup` without any evidence of data exfiltration, unauthorized file access, or malicious command execution. While there is a minor discrepancy in `index.py` where the `save_to_csv` function is a placeholder that does not actually write to disk despite the `README.md` claims, this appears to be an unfinished feature or a functional bug rather than a malicious indicator.
Capability Assessment
Purpose & Capability
Name/description match the code and SKILL.md. The Python code issues HTTP requests to EastMoney and Sina endpoints (expected sources for A‑share data) and implements the functions described (fund flow, news, chip distribution,龙虎榜, 涨停板, etc.).
Instruction Scope
SKILL.md instructs standard install/use patterns and documents network dependence. It does not ask the agent to read unrelated system files or to access credentials; behavior described (and implemented) stays within the data‑collection scope.
Install Mechanism
No remote arbitrary download/install is used; packaging is standard Python (pip editable install, setup.py). Dependencies are common PyPI libraries (pandas, requests, beautifulsoup4). The presence of a package.json is odd (Node metadata in a Python package) but not a security risk by itself.
Credentials
The skill requires no environment variables, no credentials, and references only public HTTP APIs. No sensitive system paths or unrelated service credentials are requested.
Persistence & Privilege
Flags show always: false (not forced into every agent run) and model invocation is allowed (the normal default). The package installs an entry point/console script but does not attempt to modify other skills or system configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clouddream-a-data
  3. After installation, invoke the skill by name or use /clouddream-a-data
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首次上传云梦A股数据获取Skill
Metadata
Slug clouddream-a-data
Version 1.0.0
License
All-time Installs 11
Active Installs 10
Total Versions 1
Frequently Asked Questions

What is 云梦A股数据获取Skill?

获取A股市场资金流向、新闻、筹码分布、龙虎榜及涨停板等多维度数据,支持单只股票详情查询。 It is an AI Agent Skill for Claude Code / OpenClaw, with 753 downloads so far.

How do I install 云梦A股数据获取Skill?

Run "/install clouddream-a-data" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 云梦A股数据获取Skill free?

Yes, 云梦A股数据获取Skill is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 云梦A股数据获取Skill support?

云梦A股数据获取Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 云梦A股数据获取Skill?

It is built and maintained by 冢猫 (@glory904649854); the current version is v1.0.0.

💬 Comments