← Back to Skills Marketplace
nicenasa

A Stock Market 1.0.0

by niceNASA · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
261
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install a-stock-market-1-0-0
Description
Provides real-time A-share stock market data from Sina Finance API for individual stocks and indices by code.
README (SKILL.md)

A 股行情 Skill

实时获取 A 股股票行情数据(使用新浪财经免费 API)

命令

# 查询单只股票
a-stock \x3C股票代码>

# 查询多只股票
a-stock \x3C代码 1> \x3C代码 2> ...

# 查询指数
a-stock sh000001  # 上证指数
a-stock sz399001  # 深证成指
a-stock sh000300  # 沪深 300

股票代码格式

  • 上交所:sh + 6 位数字 (如 sh600519 贵州茅台)
  • 深交所:sz + 6 位数字 (如 sz000858 五粮液)

示例

a-stock sh600519
a-stock sz000858 sh600519
Usage Guidance
This script appears to do what it says (fetch A‑share quotes) and does not request secrets, but there are inconsistencies you should clear up before installing: 1) SKILL.md and the package description mention Sina Finance while the actual script and README use Tencent's API (qt.gtimg.cn) — confirm which data source you trust. 2) The README advises creating a system symlink with sudo; avoid using sudo on untrusted code — you can run the script directly (python3 a-stock.py ...) or put a copy in a user-local bin directory (~/.local/bin) instead. 3) Review the a-stock.py source yourself (it is short and readable) or run it in an isolated environment to observe network calls. If you need guarantees about provenance or updates, ask the publisher for a canonical homepage or repository and verify the owner metadata mismatch before granting any elevated install actions.
Capability Analysis
Type: OpenClaw Skill Name: a-stock-market-1-0-0 Version: 1.0.0 The skill is a straightforward tool for querying A-share stock market data using the public Tencent Finance API. The Python script (a-stock.py) uses standard libraries (urllib) to fetch and parse data, and the documentation (SKILL.md, README.md) aligns perfectly with the code's functionality without any suspicious instructions or hidden behaviors.
Capability Assessment
Purpose & Capability
The skill claims to use Sina Finance in the package description and SKILL.md, but the README and the included a-stock.py actually call Tencent's API (https://qt.gtimg.cn). Functionality (fetching A‑share quotes) is coherent, but the declared data source and some metadata owner IDs are inconsistent and potentially misleading.
Instruction Scope
Runtime instructions and the script stay within the stated purpose: they take stock codes, call a public quote API, parse and print results. The code does not read other files, environment variables, or send data to unexpected endpoints beyond the quote API.
Install Mechanism
There is no automated install spec. This is an instruction-only skill with an included Python script. README suggests creating a symlink into /usr/local/bin (requires sudo) or running the script directly. No downloads or archive extraction are performed by the skill itself.
Credentials
The skill requests no environment variables, no credentials, and accesses no config paths. Network access to the public Tencent quote endpoint is the only external resource used, which is proportional to its function.
Persistence & Privilege
The skill does not request always:true and does not modify other skills. README suggests a system-wide symlink (/usr/local/bin) which requires elevated privileges — this is a local install choice and not required by the skill, but users should be cautious about running sudo for third-party code.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install a-stock-market-1-0-0
  3. After installation, invoke the skill by name or use /a-stock-market-1-0-0
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of A 股行情 Skill - Provides real-time A股 stock quotes via Sina Finance API. - Supports querying single or multiple stocks by code. - Can fetch major index data (e.g., 上证, 深证, 沪深300). - Accepts standardized stock code formats for both Shanghai and Shenzhen exchanges.
Metadata
Slug a-stock-market-1-0-0
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is A Stock Market 1.0.0?

Provides real-time A-share stock market data from Sina Finance API for individual stocks and indices by code. It is an AI Agent Skill for Claude Code / OpenClaw, with 261 downloads so far.

How do I install A Stock Market 1.0.0?

Run "/install a-stock-market-1-0-0" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A Stock Market 1.0.0 free?

Yes, A Stock Market 1.0.0 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does A Stock Market 1.0.0 support?

A Stock Market 1.0.0 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A Stock Market 1.0.0?

It is built and maintained by niceNASA (@nicenasa); the current version is v1.0.0.

💬 Comments