
Residual Edge Analyzer
by tradermontyeab8d5cb97b9No license2.9K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 days ago
Separate a strategy return series into declared baseline exposure and residual edge with returns-based OLS attribution, HAC inference, rolling stability, alternate-baseline sensitivity, and regime breakdowns. Use when evaluating whether backtest, out-of-sample, or live returns contain independent alpha beyond market, equal-weight, momentum, sector, or user-supplied factor returns; when explaining whether a drawdown came from baseline exposure or strategy-specific behavior; or when a strategy needs an attribution quality gate after backtesting. Do not use for holdings-based Brinson attribution, feature-level Shapley explanations, or analysis from summary metrics without a dated return series.
Add to a SourceWeft workspace
- Open the skill in your dashboard and add it to a workspace.
- Enable it for the chats that should use it.
This skill includes scripts. They run in your workspace sandbox when the skill is used — review the file list and source before adding it.
Add to SourceWeftYou will be asked to sign in first, then taken straight to this skill.
Ask your agent to install it
Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.
Read https://sourceweft.com/skills/gh-tradermonty-claude-trading-skills-residual-edge-analyzer/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.Install it yourself from a terminal
For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.
npx @sourceweft/cli skills install gh-tradermonty-claude-trading-skills-residual-edge-analyzerAdd --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).
Installed locally, this skill's scripts run on your machine, not in a sandbox. Read them first — the CLI asks before installing.
Upstream installer — not verified by SourceWeft
The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.
npx skills add https://github.com/tradermonty/claude-trading-skills/tree/eab8d5cb97b9982d915944cdaa2df972fa396b22/skills/residual-edge-analyzerSource and attribution
Source:tradermonty/claude-trading-skillsinskills/residual-edge-analyzerat commiteab8d5c
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from tradermonty/claude-trading-skills

Weekly Performance Digest
tradermonty
Aggregates closed trading theses into a weekly performance report with metrics, pattern breakdowns, and lessons.

Trade Performance Coach
tradermonty
Reviews recorded trades for process adherence, risk discipline, execution quality and behavior patterns, producing a coaching report.

Strategy Pivot Designer
tradermonty
Detects backtest iteration stagnation and generates structurally different strategy pivot proposals for trading strategies.

Skill Designer
tradermonty
Design new Claude skills from structured idea specifications. Use when the skill auto-generation pipeline needs to produce a Claude CLI prompt that creates a complete skill directory (SKILL.md, references, scripts, tests) following repository conventions.

Pre Trade Discipline Gate
tradermonty
Offline pre-trade checklist gate that approves, reviews, or blocks planned manual orders and journals the decision.

Manifoldbt Backtester
tradermonty
Runs a declarative strategy spec over OHLCV bars with the manifoldbt Rust engine, pairs the fill log into round trips, and emits the eight inputs the backtest-expert skill scores. Use when the user wants to execute a backtest, measure a rule they have described, obtain win rate / average win / average loss / max drawdown from real bars, or feed backtest-expert with measured numbers instead of estimates.