backtest-diagnose

Diagnose and repair failed quantitative trading backtests by analyzing metrics and signal engine code.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/santoosaraujo/vibe-trading-claude --skill backtest-diagnose-santoosaraujo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backtest-diagnose
Source: https://github.com/santoosaraujo/vibe-trading-claude/tree/main/.claude/skills/backtest-diagnose
Command: npx skills add https://github.com/santoosaraujo/vibe-trading-claude --skill backtest-diagnose-santoosaraujo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves technical and logical failures in quantitative trading backtests, helping you move from broken code to actionable results without manual debugging.

Core Features & Use Cases

  • Automated Error Classification: Identifies whether a failure is a runtime error, a logic bug, or a data-source issue.
  • Diagnostic Workflow: Systematically inspects metrics, equity curves, and signal logic to pinpoint the root cause.
  • Use Case: If your backtest returns zero trades or unexpected NaN values, this skill guides the AI to inspect your signal engine and apply specific code fixes to restore performance.

Quick Start

Use the backtest-diagnose skill to analyze the current backtest failure and apply the necessary code fixes.

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 quantitative trading backtest that returns zero trades or NaN values?

To fix a quantitative trading backtest returning zero trades or NaN values, you must systematically inspect metrics, equity curves, and signal engine source code to pinpoint whether it is a runtime error, logic bug, or data-source issue, then apply iterative code modifications to restore performance.

What is the best way to debug algorithmic trading backtest failures?

The best way to debug algorithmic trading backtest failures is through automated error classification that categorizes the failure as a runtime error, logic bug, or data-source issue, followed by targeted diagnostic inspection of signal logic and iterative validation.

Can I diagnose underperforming backtests using local source code files?

Yes, you can diagnose underperforming backtests using local source code files because the diagnostic workflow requires access to local artifacts and source code files to perform iterative validation and apply the necessary code modifications to your signal engine.

Why does my algorithmic trading backtest fail during runtime execution?

Your algorithmic trading backtest may fail during runtime execution due to logic bugs, data-source issues, or runtime errors within your signal engine code, which require systematic inspection of equity curves and metrics to properly diagnose and repair.

Do I need to provide my signal engine code to repair an underperforming trading backtest?

Yes, you need to provide your signal engine code to repair an underperforming trading backtest, as the diagnostic workflow requires access to local artifacts and source code files to analyze the failure and apply the necessary iterative code fixes.