← Back to Skills Marketplace
432
Downloads
2
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install vnpy
Description
vn.py 开源量化交易框架 - 支持CTA、价差、期权策略,20+券商接口,覆盖国内外市场。
Usage Guidance
This package appears coherent with the vn.py trading framework, but take these precautions before installing or using it:
- Verify provenance: the 'source' is unknown and repository fields are empty; prefer installing vnpy and gateways from the official vn.py GitHub or PyPI to avoid tampered packages.
- Use an isolated Python virtualenv for installation and test with a demo/backtest account before connecting real broker accounts — trading frameworks can place live orders if configured with broker credentials.
- Inspect any third-party packages (vnpy-ctp, gateways) you install, and confirm versions in requirements.txt match official releases.
- Note minor metadata inconsistencies (owner/version fields differ between files) — this is not necessarily malicious but is a signal to validate the publisher.
- If you will provide broker API keys or credentials to use gateways, treat them carefully (store in a secrets manager or environment limited to the process) and review gateway code for network endpoints and auth usage.
Capability Analysis
Type: OpenClaw Skill
Name: vnpy
Version: 1.0.2
The skill bundle provides comprehensive documentation and code examples for the vn.py quantitative trading framework, including CTA strategy templates, API references, and a basic initialization demo in demo_project/demo.py. The instructions in SKILL.md and README.md are consistent with the stated purpose of quantitative trading and include helpful guidance for AI agents on data validation and multi-step analysis without any signs of malicious prompt injection, data exfiltration, or unauthorized execution. All external links and dependencies (vnpy, vnpy-ctp) are standard for this ecosystem.
Capability Assessment
Purpose & Capability
Name/description (vn.py quantitative trading framework) match the files, examples, and required binary (python3). The requirements.txt and SKILL.md recommend installing vnpy and vnpy-ctp which are appropriate for the stated functionality (broker gateways, CTA strategies).
Instruction Scope
SKILL.md contains install commands, usage examples, GUI startup code, and strategy templates — all within the scope of a trading framework. The instructions do not instruct reading unrelated system files, exporting environment secrets, or posting data to unexpected endpoints. They do not automatically execute anything outside normal Python imports.
Install Mechanism
This is an instruction-only skill (no automated install spec), and it recommends pip installing vnpy and related packages (vnpy-ctp). Installing Python packages from PyPI is expected but carries normal supply-chain risk; the skill itself does not provide direct download URLs or archives. User should ensure packages are installed from official sources (PyPI/GitHub) and verify package provenance.
Credentials
The skill requests no environment variables or credentials. Although the framework interfaces with broker gateways (which in real use will require broker credentials), the skill does not ask for or embed any unrelated secrets.
Persistence & Privilege
always:false and no install scripts or modifications to other skills are present. The skill does not request permanent platform privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install vnpy - After installation, invoke the skill by name or use
/vnpy - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added a sample demo project with usage examples.
- New files: demo_project/README.md and demo_project/demo.py.
v1.0.1
**Partial Chinese localization and documentation updates.**
- Added Chinese translations for core sections (description, headers, strategy comments) alongside original English content.
- Section titles, comments, and code explanations are now bilingual for improved accessibility.
- No functional or API changes—documentation only.
- Version updated from 1.0.0 to 1.1.0 to reflect expanded language support.
v1.0.0
vnpy 1.0.0 — Initial Release
- Introduces documentation for vn.py: an open-source quantitative trading framework for CTA, spread, and options strategies.
- Covers installation instructions and component modules for various broker gateways and trading strategies.
- Provides an architecture overview and example for launching the trading GUI.
- Includes a CTA strategy development guide with sample strategy template.
- Documents available trading API methods, technical indicator references, and usage of ArrayManager and BarGenerator.
Metadata
Frequently Asked Questions
What is vnpy?
vn.py 开源量化交易框架 - 支持CTA、价差、期权策略,20+券商接口,覆盖国内外市场。 It is an AI Agent Skill for Claude Code / OpenClaw, with 432 downloads so far.
How do I install vnpy?
Run "/install vnpy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is vnpy free?
Yes, vnpy is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does vnpy support?
vnpy is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created vnpy?
It is built and maintained by coderwpf (@coderwpf); the current version is v1.0.2.
More Skills