correlation-regime-switcher

Classify correlation regimes and select trading strategies for multi-asset portfolios.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill correlation-regime-switcher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: correlation-regime-switcher
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/correlation-regime-switcher
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill correlation-regime-switcher

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps traders automatically adjust strategy allocations as asset correlations evolve, reducing manual monitoring and the risk of sticking to outdated assumptions.

Core Features & Use Cases

  • Dynamic regime detection across normal, correlation_spike, decorrelation, and breakdown states
  • Recommended strategy sets per regime with transition signaling for automated switching
  • Compatible with multi-asset portfolios and market-context classifiers to improve diversification and risk management

Quick Start

Feed the current cross-asset correlation matrix to obtain the regime and suggested strategies.

Frequently Asked Questions about correlation-regime-switcher

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

FAQPage Schema
How do I detect correlation regime changes in a multi-asset portfolio?

Regime switching for algorithmic trading works by classifying the current correlation matrix into normal, correlation_spike, decorrelation, or breakdown states. The system then selects appropriate trading strategies and provides transition signaling to automate strategy allocation adjustments as market conditions evolve.

Why do my portfolio diversification assumptions fail during market stress?

To automate strategy switching based on correlation regimes, input your multi-asset portfolio's current cross-asset correlation matrix. The system will deterministically output the current regime, a recommended set of trading strategies, and transition signals to trigger reallocation.

Can I use regime switching signals for multi-asset portfolio risk management?

Yes, this regime switching approach is compatible with multi-asset portfolios and integrates with market-context classifiers. It classifies cross-asset correlation matrices to output deterministic regimes and transition signals, directly supporting automated risk management and dynamic strategy switching.

What is the best way to adjust algorithmic trading strategies when asset correlations shift?

Use this approach when you need to automate strategy allocation across evolving market contexts and multi-asset portfolios. It is particularly suited for algorithmic trading systems requiring deterministic regime detection and transition signaling to manage correlation breakdowns and decorrelation events.