vnpy-export

Translate Vibe-Trading strategies into vnpy CtaTemplate subclasses.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/thanhtai040805/AI_Invest --skill vnpy-export-thanhtai040805
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vnpy-export
Source: https://github.com/thanhtai040805/AI_Invest/tree/main/ai-engine/app/domain/services/quant/skills_data/vnpy-export
Command: npx skills add https://github.com/thanhtai040805/AI_Invest --skill vnpy-export-thanhtai040805

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill facilitates the translation of a Vibe-Trading strategy into a vnpy-compatible Python class, enabling users to leverage vnpy's CTA Strategy App for live trading or backtesting.

Core Features & Use Cases

  • Strategy Translation: Converts Vibe-Trading strategies into vnpy CtaTemplate subclasses.
  • Live Trading/Backtesting: Supports both live trading and backtesting directly within vnpy's CTA Strategy App.
  • Use Case: Ideal for users who wish to test their Vibe-Trading strategies using vnpy's robust platform.

Quick Start

Export your Vibe-Trading strategy to vnpy by running the following command: load_skill("vnpy-export").

Frequently Asked Questions about vnpy-export

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

FAQPage Schema
How do I export a Vibe-Trading strategy to vnpy for backtesting?

To export a Vibe-Trading strategy to vnpy for backtesting, you translate the strategy logic into a vnpy CtaTemplate subclass, enabling direct use within vnpy's CTA Strategy App. This allows you to leverage vnpy's robust backtesting engine.

Can I use my Vibe-Trading strategy for live trading in vnpy?

Yes, you can use your Vibe-Trading strategy for live trading in vnpy by translating it into a vnpy-compatible CtaTemplate subclass. This bridges the two platforms, allowing the strategy to run directly in vnpy's CTA Strategy App for live market execution.

Do I need vnpy and vnpy_cta_strategy installed to translate my strategy?

Yes, you need both vnpy and vnpy_cta_strategy installed and properly configured. The translation process creates a CtaTemplate subclass that relies on these specific dependencies to function correctly within the vnpy CTA Strategy App environment.

What is the best way to convert Vibe-Trading strategies into Python classes for vnpy?

The best way to convert Vibe-Trading strategies into Python classes for vnpy is to translate them into CtaTemplate subclasses. This approach natively supports various asset types and seamlessly integrates with vnpy's infrastructure for both backtesting and live trading.

Does the vnpy strategy translation support different asset types?

Yes, the vnpy strategy translation supports various asset types. By converting your Vibe-Trading strategy into a CtaTemplate subclass, you can test and execute trades across different asset classes supported by the vnpy CTA Strategy App.

What are the limitations of translating Vibe-Trading strategies to vnpy?

The main limitation is that translating Vibe-Trading strategies to vnpy requires prior knowledge of both platforms. Users must understand the Vibe-Trading logic and vnpy's CtaTemplate structure to successfully bridge the two environments for backtesting or live trading.