backtest-expert
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
Claude Code
$ npx -y skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer --agent claude-code
Codex
$ npx skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer -a codex -y
Cursor
$ npx skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer -a cursor -y
Gemini CLI
$ npx skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer -a gemini-cli -y
GitHub Copilot
$ npx skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer -a github-copilot -y
OpenCode
$ npx skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer -a opencode -y
Windsurf
$ npx skills add tradermonty/claude-trading-skills --skill strategy-pivot-designer -a windsurf -y
name: strategy-pivot-designer description: Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
Detect when a strategy's backtest iteration loop has stalled and propose structurally different strategy architectures. This skill acts as the feedback loop for the Edge pipeline (hint-extractor -> concept-synthesizer -> strategy-designer -> candidate-agent), breaking out of local optima by redesigning the strategy's skeleton rather than tweaking parameters.
1. Accumulate backtest evaluation results into an iteration history file using `--append-eval`. 2. Run stagnation detection on the history to identify triggers (plateau, overfitting, cost defeat, insufficient profit factor, tail risk). A no-loss profit factor is not cost defeat; an undefined or overflowed ratio requires review. 3. If the diagnosis says `review_required`, repair or re-evaluate the underlying metrics first; do not generate pivots. If stagnation is confirmed, generate pivot proposals using three techniques: assumption inversion, archetype switch, objective reframe. 4. Review ranked proposals (scored by quality potential + novelty). 5. For exportable proposals, ticket YAML is ready for edge-candidate-agent pipeline. 6. For research_only proposals, manual strategy design needed before pipeline integration. 7. Feed the selected pivot draft back into backtest-expert for the next iteration cycle.
Append a backtest evaluation to history (creates history if new):
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%"
Detect stagnation:
python3 skills/strategy-pivot-designer/scripts/detect_stagnation.py \ --history reports/iteration_history.json \ --output-dir reports/
Generate pivot proposals:
python3 skills/strategy-pivot-designer/scripts/generate_pivots.py \ --diagnosis reports/pivot_diagnosis_*.json \ --strategy reports/edge_strategy_drafts/draft_*.yaml \ --max-pivots 3 \ --output-dir reports/
Data handling: Privacy policy · Security policy Claude Trading Skills started as a personal project to use AI to improve my own trading process. Claude Trading Skills is a Claude Skills-based trading workflow toolkit for time-constrained individual investors.
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the…
Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat…
Screen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth…
Synthesize the three Jason Shapiro contrarian-pipeline verdicts (COT crowding, news-reaction failure, weekly price-action…
Detect crowded speculative positioning in CFTC futures markets (COT report analysis) to find contrarian setups using Jason…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…