Rob Carver
4 steps1 pieces4 Sources
Systematic trader Rob Carver has introduced a new backtesting protocol called "True Backtesting" to address persistent overfitting issues in quantitative strategy development. Carver argues that even rigorous out-of-sample testing remains vulnerable to tacit and implicit fitting, where researchers unconsciously select ideas based on prior knowledge or discard poor performers after seeing results. His proposed solution involves two key procedural changes: symmetric backtesting, which evaluates both positive and negative versions of every rule variation, and write-only backtesting, which mandates that once an idea is added to the test set, it can never be removed. This approach aims to eliminate explicit and implicit fitting while significantly reducing tacit bias, ensuring more realistic historical performance estimates. The protocol builds on Carver's long-standing work with the open-source pysystemtrade library and his previous research into robust portfolio optimization. While Carver claims this is an original contribution, he acknowledges similarities to earlier concepts like recording all tests (Lopez de Prado) and testing long/short variants (Aronson), though he distinguishes his method by maintaining a single, ever-growing backtest without survivorship bias. The implementation will be part of a future Python library named Autofitter, with source code reserved for buyers of his upcoming book.
How it got here
2015-12: Rob Carver releases the initial version of pysystemtrade, an open-source backtesting and trading engine.
qoppac.blogspot.com ↗2023-10-21: In a Top Traders Unplugged podcast, Carver discusses techniques to prevent overfitting, including bootstrapping and robust fitting methods.
toptradersunplugged.com ↗