vnpy-export

Translate Vibe-Trading strategy logic into vnpy CtaTemplate Python classes.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill vnpy-export-0xzknw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vnpy-export
Source: https://github.com/0xZKnw/vibe-trading-tap/tree/main/agent/src/skills/vnpy-export
Command: npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill vnpy-export-0xzknw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill bridges the gap between Vibe-Trading's research environment and the vnpy quant framework, allowing users to seamlessly transition from strategy backtesting to live trading or production-grade backtesting in the vnpy ecosystem.

Core Features & Use Cases

  • Automated Code Generation: Translates Vibe-Trading signal logic into a fully functional vnpy CtaTemplate subclass.
  • Indicator Mapping: Automatically maps Vibe-Trading/pandas indicators to vnpy's high-performance ArrayManager methods.
  • Use Case: A user develops a profitable strategy in Vibe-Trading and wants to deploy it on a local vnpy instance for live A-share or futures trading without manually rewriting the signal logic.

Quick Start

Use the vnpy-export skill to generate a CtaTemplate Python class from the current strategy configuration and save it to the artifacts directory.

Frequently Asked Questions about vnpy-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a trading strategy to a vnpy CTA template?

To convert a trading strategy to a vnpy CTA template, the skill translates Vibe-Trading signal logic into a runnable vnpy CtaTemplate Python class. It maps pandas indicators directly to vnpy's ArrayManager conventions for quantitative trading.

Does the vnpy export support A-share stocks and crypto markets?

Yes, the vnpy export supports A-share stocks, futures, and crypto markets. It provides asset-specific parameterization to ensure the generated CtaTemplate subclasses function correctly across different financial trading environments.

How do I map Vibe-Trading indicators to vnpy ArrayManager methods?

To map Vibe-Trading indicators to vnpy ArrayManager methods, the skill automates the indicator mapping process during code generation. This translates pandas-based calculations into high-performance ArrayManager method calls required by the vnpy CTA engine.

What is the best way to deploy Vibe-Trading backtests to live vnpy trading?

The best way to deploy Vibe-Trading backtests to live vnpy trading is by generating a fully functional CtaTemplate Python class. This bridges the research environment and vnpy quant framework, facilitating seamless integration with the local CTA strategy engine.

Do I need to manually rewrite signal logic when moving to the vnpy quant framework?

No, you do not need to manually rewrite signal logic when moving to the vnpy quant framework. The skill performs automated code generation, translating your Vibe-Trading strategy configurations directly into runnable vnpy CtaTemplate subclasses.

Can I run exported vnpy CTA strategies for futures trading without manual coding?

Yes, you can run exported vnpy CTA strategies for futures trading without manual coding. The skill generates a complete CtaTemplate Python class from your current strategy configuration and saves it to the artifacts directory for immediate deployment.