vnpy-export

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

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/hxhyyy/Vibe-Trading --skill vnpy-export-hxhyyy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vnpy-export
Source: https://github.com/hxhyyy/Vibe-Trading/tree/main/agent/src/skills/vnpy-export
Command: npx skills add https://github.com/hxhyyy/Vibe-Trading --skill vnpy-export-hxhyyy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vnpy, and includes scripts (resource) components.

What problem does it solve?

This skill bridges the gap between Vibe-Trading research and production-grade execution by automatically converting strategy logic into the industry-standard vnpy CtaTemplate format.

Core Features & Use Cases

  • Automated Translation: Converts Vibe-Trading signal logic into runnable Python classes compatible with the vnpy CTA Strategy App.
  • Multi-Asset Support: Handles specific parameter and execution conventions for A-share stocks, futures, and crypto assets.
  • Use Case: A trader develops a backtested strategy in Vibe-Trading and needs to deploy it immediately to a live vnpy trading engine without manually rewriting the signal logic or indicator calculations.

Quick Start

Use the vnpy-export skill to generate a CtaTemplate strategy file from the current backtest 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 Vibe-Trading strategy to vnpy CtaTemplate format?

To convert a Vibe-Trading strategy to vnpy CtaTemplate, this skill automatically translates signal logic and ArrayManager indicators into standardized Python classes runnable in the vnpy CTA Strategy App.

Can I use vnpy-export for A-share stocks, futures, and crypto backtesting?

Yes, you can use this translation tool for A-share equities, futures, and crypto. It maps signal engines to ArrayManager indicators while handling specific execution conventions for each asset class.

What is the best way to deploy Vibe-Trading strategies to a live vnpy trading engine?

The best way to deploy Vibe-Trading strategies to a live vnpy engine is generating standardized CtaTemplate strategy files, which integrate directly with the vnpy CTA Strategy App without manual rewriting.

Do I need to manually rewrite indicator calculations when exporting strategies to vnpy?

No, you do not need to manually rewrite indicator calculations. The automated translation process maps Vibe-Trading signal logic directly into runnable Python classes with ArrayManager indicators.

How does mapping signal engines to ArrayManager indicators work for CTA strategies?

Mapping signal engines to ArrayManager indicators works by translating Vibe-Trading logic into vnpy CtaTemplate Python classes, ensuring the generated strategy files integrate directly with the CTA Strategy App.

Are there limitations when translating Vibe-Trading logic for multi-asset vnpy strategies?

Limitations depend on mapping signal engines to ArrayManager indicators correctly for A-shares, futures, and crypto. You must ensure the specific parameter and execution conventions for each asset class are supported.