strategy-pivot-designer

Detect stagnation in trading strategy backtests and generate pivot proposals.

2|Updated Jun 14, 2026
One-click install
npx skills add https://github.com/IhsanDanish25/claude-trading-skills --skill strategy-pivot-designer-ihsandanish25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategy-pivot-designer
Source: https://github.com/IhsanDanish25/claude-trading-skills/tree/main/skills/strategy-pivot-designer
Command: npx skills add https://github.com/IhsanDanish25/claude-trading-skills --skill strategy-pivot-designer-ihsandanish25

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps traders overcome local optima during backtesting by proposing new, structurally different strategy architectures.

Core Features & Use Cases

  • Stagnation Detection: Detects when a strategy's backtest iteration loop has stalled.
  • Pivot Proposals: Generates structurally different strategy pivot proposals using techniques like assumption inversion, archetype switch, and objective reframe.
  • Use Case: When backtesting a trading strategy encounters a plateau or signs of overfitting, this Skill can propose new strategy architectures to explore.

Quick Start

Append backtest evaluation to history and detect stagnation:

python3 skills/strategy-pivot-designer/scripts/detect_stagnation.py \
  --append-eval reports/backtest_eval_2026-02-10_120000.json \
  --history reports/iteration_history.json \
  --strategy-id draft_edge_concept_breakout_behavior_riskon_core \
  --changes "Widened stop_loss from 5% to 7%"

Frequently Asked Questions about strategy-pivot-designer

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

FAQPage Schema
How do I detect stagnation when my trading strategy backtesting plateaus?

To detect stagnation during trading strategy backtesting, you append backtest evaluation data to an iteration history file and run a script to analyze the loop for stalled progress or signs of overfitting.

What is a strategy pivot proposal in algorithmic trading?

A strategy pivot proposal in algorithmic trading is a new, structurally different architecture generated to break out of a local optimum, using techniques like assumption inversion, archetype switch, and objective reframe.

How do I generate new strategy architectures to escape local optima?

You generate new strategy architectures to escape local optima by running a Python script that analyzes your iteration history and applies structural transformations to propose alternative strategy designs.

What do I need to run the stagnation detection scripts for strategy design?

To run the stagnation detection scripts for strategy design, you need Python 3.9 or higher and the PyYAML dependency installed to process your backtest iteration history and trigger pivot proposals.

When should I use a strategy pivot proposal instead of continuing backtest iterations?

You should use a strategy pivot proposal when your backtesting iteration loop encounters a plateau, stalls, or shows signs of overfitting, indicating that incremental changes are no longer effective.

Does the strategy pivot designer work with my existing backtest evaluation files?

Yes, the strategy pivot designer works with existing backtest evaluation files by appending them to a JSON iteration history and passing the strategy ID and recent parameter changes into the detection script.