regime-awareness

Analyze backtest results segmented by market regimes and flag single-regime dependencies.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lgbarn/quantdev --skill regime-awareness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regime-awareness
Source: https://github.com/lgbarn/quantdev/tree/main/skills/regime-awareness
Command: npx skills add https://github.com/lgbarn/quantdev --skill regime-awareness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the critical issue of strategy failure due to ignoring market regime changes, ensuring trading strategies are robust across different market conditions.

Core Features & Use Cases

  • Regime Identification: Classifies market conditions into Trending, Ranging, Volatile, and Low-Volatility.
  • Backtest Segmentation: Analyzes strategy performance broken down by each identified regime.
  • Dependency Flagging: Highlights strategies overly reliant on a single regime, indicating potential overfitting.
  • Use Case: When reviewing a backtest, this skill will automatically flag if a strategy is only profitable in trending markets and suggest adding an ADX filter to prevent losses during ranging periods.

Quick Start

Analyze the provided backtest results and identify any regime dependencies.

Frequently Asked Questions about regime-awareness

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

FAQPage Schema
How do I check my trading strategy backtest for market regime dependencies?

To check for market regime dependencies, segment your strategy backtest results across trending, ranging, volatile, and low-volatility conditions to identify single-regime overfitting. This analysis flags strategies overly reliant on one market environment.

Why does my trading strategy fail in ranging markets but profit in trends?

Your strategy likely has a single-regime dependency, meaning it is overfitted to trending markets. Applying regime-specific filters like ADX can prevent losses by restricting trades to favorable market environments.

What indicators filter trades for different market regimes?

Indicators like ADX, Bollinger Bandwidth, and ATR serve as regime-specific filters to classify market conditions and restrict trading. They help adapt strategies by identifying trending, ranging, volatile, and low-volatility environments.

How do I prevent strategy overfitting during performance analysis?

Prevent strategy overfitting during performance analysis by segmenting backtest results into distinct market regimes. Flagging single-regime dependencies ensures trading strategies remain robust across varying market conditions rather than tailored to historical anomalies.

Can I use ATR and Bollinger Bandwidth to identify volatile and low-volatility regimes?

Yes, ATR and Bollinger Bandwidth are effective for identifying volatile and low-volatility market regimes during backtest segmentation. They measure volatility expansion and contraction, allowing strategies to adapt to changing market conditions.

When should I apply regime-specific filters to my trading strategy?

Apply regime-specific filters when a strategy backtest shows overreliance on a single market regime, indicating potential overfitting. Filters like ADX prevent losses during unfavorable conditions by ensuring trades execute only in suitable market environments.