← Back to Skills Marketplace
实现基于qmt智能交易终端的A股交易数据本地化
by
village_dog
· GitHub ↗
· v1.0.1
· MIT-0
202
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install stock-qdata
Description
基于QMT量化交易平台,支持自然语言指令下载并实时网页监控A股多周期历史行情数据,含智能错误处理和任务控制。
Usage Guidance
Before installing/running: 1) Confirm you have a legitimate local QMT installation and set qmt_path in config.json correctly; the skill will try to start/check the QMT executable. 2) Review and set base_path to a safe directory — the skill will create folders and write many CSV files. 3) The web UI runs a local Flask/Socket.IO server (ports ~5018–5038) and, if local static files are missing, will load Bootstrap/Font Awesome from public CDNs (your browser will contact those CDNs). If you require full offline operation, ensure the provided static assets are present. 4) The code uses subprocess/psutil to inspect and launch local processes and may call os._exit to terminate the server on idle; run it in a controlled environment you trust. 5) The package has some duplicated/sloppy code (e.g., duplicate start_qmt definitions) — consider reviewing the code or running in a sandbox before using on sensitive systems.
Capability Analysis
Type: OpenClaw Skill
Name: stock-qdata
Version: 1.0.1
The skill bundle is a legitimate tool designed to download A-share historical market data using the QMT (Quantitative Management Technology) platform. It features a natural language instruction parser in `main.py`, core data processing logic in `agent.py`, and a Flask-based web dashboard in `monitor.py` for real-time progress tracking. The code uses standard libraries (pandas, flask, socketio) and interacts with the local QMT client as expected. No evidence of data exfiltration, malicious remote execution, or prompt injection was found; the use of subprocesses is strictly limited to managing the local monitoring server and the QMT executable.
Capability Assessment
Purpose & Capability
Name/description (download A‑share history via QMT) align with the code and instructions: it reads/writes CSVs, requires a local QMT installation, starts/checks QMT, and provides a local web UI for monitoring. No unexpected cloud API keys or unrelated services are requested.
Instruction Scope
SKILL.md instructs pip installing requirements and running main.py (natural-language or CLI). The runtime instructions and code legitimately access local config.json, create data directories, read stock_list.csv/index_list.csv, and start a local Flask/Socket.IO server. These actions are within the stated purpose. Note: the web UI may fetch fallback assets from public CDNs if local static assets fail.
Install Mechanism
No automated install spec; this is an instruction+code bundle. Dependencies are standard Python packages (flask, flask-socketio, pandas, psutil) listed in requirements.txt. No external arbitrary binary downloads are performed by the skill itself.
Credentials
The skill does not request environment variables or external credentials. It uses a local config.json (base_path, qmt_path) to operate; these are appropriate for filesystem and QMT access required by the described functionality.
Persistence & Privilege
always:false and user-invocable:true (normal). The skill writes/updates its own config.json and creates data directories under base_path — expected for a local data downloader. It also launches/monitors local processes (QMT) and can forcibly exit the process (os._exit) on idle; these are operational choices rather than covert privilege escalation but warrant attention.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-qdata - After installation, invoke the skill by name or use
/stock-qdata - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 新增静态文件 static/socket.io.min.js,用于网页实时通信支持。
- SKILL.md内联系方式和社区说明更新,增加自行下载部分资源文件的提示。
- 其余功能与描述保持不变。
v1.0.0
Initial release of stock-qdata skill:
- Download historical A-share market data via QMT, supporting multiple periods (1d, 30m, 5m, 1m)
- Natural language commands and command-line parameter modes supported
- Web monitoring interface with real-time progress, error logs, and control (pause/resume)
- Automatic error handling and status updates every 2 seconds using Socket.IO
- Configurable batch size, download days, modes (web/background), and paths via config.json
- Guidance on requirements, installation, and troubleshooting included
Metadata
Frequently Asked Questions
What is 实现基于qmt智能交易终端的A股交易数据本地化?
基于QMT量化交易平台,支持自然语言指令下载并实时网页监控A股多周期历史行情数据,含智能错误处理和任务控制。 It is an AI Agent Skill for Claude Code / OpenClaw, with 202 downloads so far.
How do I install 实现基于qmt智能交易终端的A股交易数据本地化?
Run "/install stock-qdata" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 实现基于qmt智能交易终端的A股交易数据本地化 free?
Yes, 实现基于qmt智能交易终端的A股交易数据本地化 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 实现基于qmt智能交易终端的A股交易数据本地化 support?
实现基于qmt智能交易终端的A股交易数据本地化 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 实现基于qmt智能交易终端的A股交易数据本地化?
It is built and maintained by village_dog (@diudiuhuang); the current version is v1.0.1.
More Skills