← 返回 Skills 市场
nnzenw

PyWenCai Stock

作者 nnzenw · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
417
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install pywencaistock
功能描述
使用 pywencai 库获取同花顺问财股票数据,支持实时行情、财务指标、龙虎榜、资金流向等查询。适用于需要快速获取A股市场数据的场景。
安全使用建议
This skill appears to do what it says: wrap the third‑party pywencai library to fetch A‑share data. Before installing, consider the following: - Review and trust the upstream pywencai package (pip). It will make network requests to retrieve data; inspect its code or pin a specific version if you need stability/trust. - Do NOT apply the SSL-disable snippet from the troubleshooting section in production; it makes HTTPS connections insecure and can enable man‑in‑the‑middle attacks. - The example script adds '/tmp/mootdx' to sys.path — harmless by itself, but avoid running arbitrary example scripts that modify import paths in sensitive environments. - If you must supply login cookies or any credentials to access additional data, treat them as sensitive: provide them only in secure ways, prefer temporary/session tokens, and avoid embedding them in code. - Run initial tests in an isolated environment (virtualenv/container) to observe network behavior and confirm no unexpected endpoints are contacted. Overall the package is internally consistent with its stated purpose; the main residual risk is trusting the third‑party pywencai package and following the insecure SSL workaround.
功能分析
Type: OpenClaw Skill Name: pywencaistock Version: 1.0.0 The skill bundle is classified as suspicious due to the inclusion of security vulnerabilities and irregular coding practices. Specifically, SKILL.md recommends disabling SSL certificate verification (ssl._create_unverified_context) as a troubleshooting step, which is a high-risk action that exposes the agent to man-in-the-middle attacks. Additionally, scripts/example.py contains a hardcoded path modification (sys.path.insert(0, '/tmp/mootdx')), which is an unusual practice that could be exploited in shared environments. While the core logic for fetching stock data via the pywencai library appears aligned with its stated purpose, these flaws introduce significant security risks.
能力评估
Purpose & Capability
The name/description (pywencai access to 同花顺问财) matches the included code and docs. The code imports pywencai/pandas/BeautifulSoup and exposes search/top_gainers/dragon_tiger_list which aligns with advertised features. Minor oddity: scripts/example.py inserts '/tmp/mootdx' on sys.path — likely a convenience for some environments but not required for core functionality.
Instruction Scope
SKILL.md stays within scope: it instructs installing pywencai/pandas and shows how to call skill('pywencai-stock').search. It does include a troubleshooting snippet that disables SSL verification (ssl._create_default_https_context = ssl._create_unverified_context), which is insecure advice — functionally coherent but a security risk if followed. Instructions do not request extraneous files, system credentials, or unexpected external endpoints.
Install Mechanism
No install spec is provided (instruction-only). Recommended installs are standard pip packages (pywencai, pandas). No downloads from untrusted URLs, no extracted archives, and no unusual install locations in the core package files.
Credentials
The skill declares no required environment variables or credentials. SKILL.md notes some queries may need login cookies (a legitimate property of the upstream service) but does not demand unrelated secrets. There is no request for broad or unrelated credentials.
Persistence & Privilege
Skill does not request always:true and is user-invocable only. It contains no code that modifies other skills or global agent configuration. Autonomous invocation remains enabled (platform default) but is not combined with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pywencaistock
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pywencaistock 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of pywencai-stock skill. - Enables retrieval of real-time A-share market data from Tonghuashun Wencai using the pywencai library. - Supports queries for live quotes, financial indicators, capital flows, top gainers/losers, block/concept stock lists, and detailed stock info. - Results are returned as structured pandas DataFrames for easy analysis. - Designed for rapid, flexible stock data acquisition in a variety of finance-related scenarios.
元数据
Slug pywencaistock
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

PyWenCai Stock 是什么?

使用 pywencai 库获取同花顺问财股票数据,支持实时行情、财务指标、龙虎榜、资金流向等查询。适用于需要快速获取A股市场数据的场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 417 次。

如何安装 PyWenCai Stock?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pywencaistock」即可一键安装,无需额外配置。

PyWenCai Stock 是免费的吗?

是的,PyWenCai Stock 完全免费(开源免费),可自由下载、安装和使用。

PyWenCai Stock 支持哪些平台?

PyWenCai Stock 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PyWenCai Stock?

由 nnzenw(@nnzenw)开发并维护,当前版本 v1.0.0。

💬 留言讨论