strategy-generate

Automate creation, coding, and backtesting of quantitative trading strategies.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/20YN04/vibe-trading-macos --skill strategy-generate-20yn04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategy-generate
Source: https://github.com/20YN04/vibe-trading-macos/tree/main/agent/src/skills/strategy-generate
Command: npx skills add https://github.com/20YN04/vibe-trading-macos --skill strategy-generate-20yn04

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas.

What problem does it solve?

This skill removes the complexity of building quantitative trading strategies by automating the entire lifecycle from logic design to backtesting and performance evaluation.

Core Features & Use Cases

  • Strategy Design: Provides a structured framework to define signals, position sizing, and risk management.
  • Automated Backtesting: Executes strategies across multiple markets including A-shares, US stocks, Hong Kong stocks, and cryptocurrencies using a unified engine.
  • Performance Evaluation: Automatically generates metrics and equity curves to validate strategy viability and identify potential bugs.

Quick Start

Use the strategy-generate skill to create a dual moving average crossover strategy for 000001.SZ with a 5-day and 20-day window for the year 2024.

Frequently Asked Questions about strategy-generate

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

FAQPage Schema
How do I backtest a quantitative trading strategy across multiple financial markets?

You can backtest a quantitative trading strategy across multiple markets by defining signals and position sizing, then executing them through a unified engine. This process requires configuration schemas for data routing and interval definition to generate performance metrics.

What is automated strategy backtesting and how does it validate trading logic?

Automated strategy backtesting executes your predefined trading signals against historical market data to validate logic viability. It automatically generates performance metrics and equity curves, helping identify potential bugs in your quantitative models before live deployment.

Can I use numpy and pandas for multi-asset backtesting with this automation framework?

Yes, you can use numpy and pandas within this framework to handle multi-asset backtesting. The strategy automation engine uses these dependencies to process historical market data and generate statistical validation tools for your trading logic.

How do I design a dual moving average crossover strategy for a specific stock?

To design a dual moving average crossover strategy, you define the short and long window parameters, such as a 5-day and 20-day interval, for a target asset like 000001.SZ. The framework automates the coding and backtesting to evaluate performance over your chosen period.

What are the limitations of using automated quantitative strategy generation?

Automated quantitative strategy generation requires strict adherence to specific configuration schemas for data source routing and performance metric generation. Limitations include the necessity of valid historical data inputs and the risk of overfitting backtested equity curves to past market conditions.