backtest-debug

Diagnose banbot backtest failures across data loading, configuration, and strategy execution.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/frydaiii/manbot --skill backtest-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backtest-debug
Source: https://github.com/frydaiii/manbot/tree/main/.claude/skills/backtest-debug
Command: npx skills add https://github.com/frydaiii/manbot --skill backtest-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Banbot backtests can fail to start, produce errors, place no orders, stop early, or behave differently than strategy code expects. This skill provides a structured approach to diagnosing and fixing backtest issues by guiding you through common failure modes and causative checks.

Core Features & Use Cases

  • Comprehensive diagnostic workflow covering data loading, configuration, and strategy loading for banbot backtests.
  • Per-bar and lifecycle insight: traces the flow from data provision to order processing to result collection, helping pinpoint where issues arise.
  • Actionable decision tree: guides users through common symptoms (no data, zero orders, early stop) with concrete remedies.
  • Reproducibility and safety: emphasizes deterministic checks, data validation, and clear logging to reproduce and fix issues.

Quick Start

Run this skill to systematically diagnose and fix backtest problems by following the diagnostic decision tree from data and config checks to strat-loading validation.

Frequently Asked Questions about backtest-debug

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

FAQPage Schema
Why does my banbot backtest place no orders or stop early?

Banbot backtests placing no orders or stopping early often result from data loading gaps, invalid configuration, or run_policy misalignment. You must systematically check BanDataDir, QuestDB data availability, and strategy execution flow to pinpoint the exact failure point.

How do I debug a banbot backtest that fails to start or yields unexpected results?

To debug a banbot backtest that fails to start, validate your configuration settings and ensure QuestDB data availability. Trace the per-bar lifecycle from data provision to order processing to identify where unexpected results originate across different run_policy configurations.

How does QuestDB data availability affect banbot backtesting?

QuestDB data availability directly impacts banbot backtesting by determining whether the required kline data can be loaded. Missing or incomplete data in QuestDB will cause backtests to fail, produce errors, or place zero orders due to empty data feeds.

What is the best way to ensure deterministic banbot backtesting results?

Ensuring deterministic banbot backtesting results requires enforcing strict checks on BanDataDir, run_policy alignment, TF selection, and wallet or state constraints. Applying clear logging and data validation throughout the strategy execution flow guarantees reproducible outcomes.

Do I need specific run_policy and TF settings for banbot strategy backtesting?

Yes, banbot strategy backtesting requires aligning your run_policy configuration and TF selection with the loaded kline data. Mismatches between these settings and the available QuestDB data will cause backtests to fail or yield unexpected results.

What should I check when banbot backtest configuration is not working?

When banbot backtest configuration is not working, you should check the validity of your BanDataDir, verify QuestDB kline data availability, and ensure run_policy alignment. Reviewing wallet and state constraints helps resolve execution flow errors and early stops.