backtesting

Design and validate backtest engines for Candle Compass trading strategies.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/SavigeSystemZ/LuxeLogic --skill backtesting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: backtesting
Source: https://github.com/SavigeSystemZ/LuxeLogic/tree/main/_AGENT_SYSTEM/_TEMPLATE_FACTORY/SOURCE_LIBRARY/CandleCompass/assistant/skills/backtesting
Command: npx skills add https://github.com/SavigeSystemZ/LuxeLogic --skill backtesting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design, implement, or refactor backtest engines and evaluation flows for Candle Compass, enabling changes to vectorized or walk-forward logic, cost/slippage modeling, and equity/position accounting with clear performance metric reporting.

Core Features & Use Cases

  • Design and validate backtest engines and evaluation flows
  • Validate cost/slippage modeling and equity accounting
  • Generate and report performance metrics such as Sharpe, drawdown, and CAGR

Quick Start

Run the backtest workflow using the vectorized or walk-forward engine and verify results against expected metrics.

Frequently Asked Questions about backtesting

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

FAQPage Schema
How do I validate backtest engines and ensure reproducible performance metrics?▼

Validate backtest engines by verifying outputs against expected metrics like Sharpe, Sortino, drawdown, and CAGR. Ensure reproducible results and maintain test coverage, updating scripts when interfaces change.

What is walk-forward backtesting and how does it differ from vectorized backtesting?▼

Walk-forward backtesting evaluates a strategy sequentially over rolling time windows, while vectorized backtesting applies calculations across entire datasets simultaneously. Both approaches require explicit metric validation and cost modeling for accurate results.

How do I model slippage and transaction costs in a backtest evaluation flow?▼

Model slippage and transaction costs by integrating cost adjustments into your backtest evaluation flow. Validate cost modeling alongside equity and position accounting to ensure performance metrics accurately reflect real trading conditions.

What performance metrics should I report when testing a trading strategy?▼

Report key performance metrics including Sharpe ratio, Sortino ratio, drawdown, and CAGR when testing trading strategies. Explicit validation of these metrics ensures reliable assessment of strategy viability.

Does this backtesting skill require updating scripts when interfaces change?▼

Yes, when interfaces change, script updates under app/scripts/ are required to maintain backtest engine functionality. This ensures continued reproducible outputs and test coverage across vectorized and walk-forward workflows.

Can I use vectorized backtesting for large-scale trading strategy evaluation?▼

Vectorized backtesting applies calculations across entire datasets simultaneously, making it suitable for efficient large-scale strategy evaluation. Validate results against expected metrics and ensure cost modeling accounts for slippage impacts.