strategy-generate

Transform trading intentions into executable strategy definitions and backtests.

30.4k|4.9k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/HKUDS/Vibe-Trading --skill strategy-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategy-generate
Source: https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/strategy-generate
Command: npx skills add https://github.com/HKUDS/Vibe-Trading --skill strategy-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It turns high-level trading intents into structured strategy workflows, parsing instruments, time ranges, and signal logic so agents can confidently design and evaluate models without missing critical details like normalization or validation needs.

Core Features & Use Cases

  • Requirement parsing: normalize instrument codes, infer or request missing dates, and capture entry/exit logic before writing config.json.
  • Signal design and coding: follow the five-question checklist, implement SignalEngine in pandas, and ensure boundary-safe, normalized signal series.
  • Evaluation loop: leverage the built-in backtest tool, examine artifacts/metrics, and iterate on edits until trade_count, equity, and review criteria gain confidence; ideal for dual MA, RSI, or crypto trend ideas.

Quick Start

Ask the agent to run strategy-generate with your instrument, date range, and objectives so it can write config.json, craft signal_engine.py, and launch the built-in backtest.

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 using pandas?

Config-driven backtesting requires a config.json file defining instrument codes, time ranges, and entry/exit rules, alongside a pandas-based SignalEngine implementation generating normalized signal series for the built-in backtest evaluation loop.

Can I backtest crypto and equity trading ideas with the same workflow?

The workflow normalizes instrument codes and parses time ranges across equities, crypto, and other instruments, applying consistent data and validation rules before invoking the backtest tool for evaluation.

What is the process for generating executable trading signals from high-level intentions?

The process parses high-level trading intentions, normalizes instruments and dates, designs signal logic via a five-question checklist, implements a pandas-based SignalEngine, and writes executable definitions to config.json for backtesting.

How do I validate and refine trading strategies after an initial backtest?

Refining trading strategies involves examining artifacts and metrics like trade_count and equity from the built-in backtest, iterating on signal_engine.py edits, and re-evaluating until trade_count, equity, and review criteria achieve confidence.

Do I need to manually normalize instrument codes and time ranges before backtesting?

No, the workflow automatically parses requirements, normalizes instrument codes, and infers or requests missing time ranges before writing config.json, ensuring data and validation decisions are enforced prior to backtesting.