backtest-diagnose

Diagnose and repair algorithmic trading backtest failures by analyzing metrics, equity data, and signal engine code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves failures and performance issues in algorithmic trading backtests by systematically identifying root causes in signal logic, data integrity, and configuration.

Core Features & Use Cases

  • Automated Error Taxonomy: Classifies issues into runtime errors, logic bugs, or data-source errors based on standard backtest artifacts.
  • Precision Repair: Provides a structured workflow to inspect code, validate syntax, and apply targeted fixes to signal engines.
  • Use Case: If a backtest returns zero trades or unexpected NaN values, this skill guides the user through inspecting metrics and equity files to pinpoint and resolve the underlying signal calculation error.

Quick Start

Use the backtest-diagnose skill to analyze the current backtest artifacts and provide a fix for the observed performance issues.

Frequently Asked Questions about backtest-diagnose

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

FAQPage Schema
How do I fix a trading backtest that returns zero trades?

To fix a trading backtest returning zero trades, you must systematically validate signal generation logic, inspect equity data for unexpected NaN values, and verify configuration parameters to ensure robust strategy performance.

Why does my algorithmic trading backtest keep failing with runtime exceptions?

Algorithmic trading backtests fail with runtime exceptions due to logic bugs, data-source errors, or configuration issues. You can resolve these by analyzing standard backtest artifacts like metrics and equity files to classify the issue and apply targeted code fixes.

What is the best way to debug quantitative trading signal engines?

The best way to debug quantitative trading signal engines is to follow a structured workflow that inspects code, validates syntax, and applies precision repairs. This targets signal calculation errors directly to resolve performance deviations.

Can I diagnose data integrity issues in my backtest artifacts?

Yes, you can diagnose data integrity issues in backtest artifacts by applying an automated error taxonomy. This classifies issues into runtime errors, logic bugs, or data-source errors based on your standard backtest metrics and equity data.

How do I repair unexpected NaN values in my backtest equity data?

To repair unexpected NaN values in backtest equity data, you need to inspect the signal engine code and validate data filtering parameters. This structured approach identifies and resolves the underlying signal calculation errors causing the gaps.

When should I validate configuration parameters for backtesting performance issues?

You should validate configuration parameters for backtesting performance issues whenever results deviate from expected behavior. Systematic validation of signal generation logic and data filtering ensures robust strategy performance and prevents runtime exceptions.