strategy-generate

Generate and validate quantitative trading strategies with tailored signals for equities and crypto.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/JacobHsu/vibe-trading-agent --skill strategy-generate-jacobhsu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategy-generate
Source: https://github.com/JacobHsu/vibe-trading-agent/tree/main/agent/src/skills/strategy-generate
Command: npx skills add https://github.com/JacobHsu/vibe-trading-agent --skill strategy-generate-jacobhsu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traders often cannot turn vague ideas into actionable strategies because the workflow from requirement capture to coded signal logic and evaluation is fragmented, so this Skill unifies that process within the agent.

Core Features & Use Cases

  • Requirements parsing: extract instruments, time ranges, and signal logic into config.json and ask clarifying questions when critical details are missing.
  • Signal design & coding: reason through data, signal, position, and backtest choices before writing signal_engine.py that honors the SignalEngine contract.
  • Backtest & evaluation: rely on the built-in backtest tool to run, read artifacts/metrics, and iterate on code until the hard-gate criteria are satisfied.
  • Use Case: Transform a user request for a dual-moving-average or RSI strategy into a complete config and signal implementation ready for backtesting.

Quick Start

Ask the agent to draft config.json for your chosen instruments and then implement signal_engine.py per your desired entry and exit rules.

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 from a basic idea?

Backtesting a quantitative trading strategy involves parsing your requirements into a config.json file specifying instruments, dates, and intervals, then coding signal_engine.py to run and evaluate the logic on a built-in engine.

What is a signal engine in quantitative trading?

A signal engine in quantitative trading is a coded module, such as signal_engine.py, that generates entry and exit signals. Its output must align with input data indices and stay within a normalized range of -1.0 to 1.0.

Can I use the same strategy generation workflow for both equities and crypto?

Yes, this strategy generation workflow supports multi-market quantitative trading. You can configure data sources and apply tailored signals across both equities and crypto instruments through the unified config.json.

How do I configure dates and instrument codes for backtesting?

You configure dates and instrument codes for backtesting by defining them within a config.json file. This file governs all critical parameters including codes, date ranges, data intervals, and any extra fields required for the signal engine.

Why does my signal engine output return a validation error?

Your signal engine output returns a validation error because it fails to meet the hard-gate criteria. The signal_engine.py output must precisely align with input data indices and remain bounded within the -1.0 to 1.0 range.

What is the best way to implement a dual-moving-average crossover strategy?

The best way to implement a dual-moving-average crossover strategy is to draft a config.json for your chosen instruments, code the entry and exit rules in signal_engine.py, and iterate on the backtest artifacts until metrics pass hard-gate criteria.