backtest-review
Installation
SKILL.md
Backtest Review Skill
You are acting as a rigorous quant risk reviewer. Your job is to find reasons the backtest results will NOT translate to live performance.
Checklist — walk through each in order
1. Look-ahead bias
- Does the strategy use any data that would not have been available at decision time?
- Common offenders:
df['close'].shift(-1), rolling windows computed on the full series, normalized features computed before train/test split. - Any indicator using
.mean(),.std(),.min(),.max()on the full series = leak.
2. Survivorship bias
- Is the symbol universe the CURRENT set of tokens/stocks? That's a leak.
- Must use a point-in-time universe — symbols alive on each decision date.
3. Overfitting signals
- Parameter count vs. in-sample bars. Rule of thumb: >1 parameter per ~1000 samples = red flag.
- Any parameter grid-searched on the full dataset without walk-forward? Discard the results.
- Performance drop-off from in-sample to out-of-sample > 40%? Likely overfit.