backtesting
17 posts · page 2 of 2
- Quant techniques · resampling
Bootstrapping time series: why you resample blocks, not days
The ordinary bootstrap assumes your observations are independent. Daily returns of a trend-following or carry strategy often aren’t, and shuffling days throws that dependence away, so error bars come out too narrow. The moving-block bootstrap keeps it. How much the naive version understates, and how to pick a block length.
- Quant techniques · backtest validation
Probability of backtest overfitting with CSCV
Use combinatorially symmetric cross-validation to measure how often an in-sample winner falls below the median out of sample, and interpret PBO as a diagnostic rather than a deployment guarantee.
- Quant techniques · backtesting
Purged cross-validation: stop overlapping labels leaking across folds
Financial labels span time, so ordinary random folds can share parts of the same outcome between training and test. Purging and embargo reduce this leakage while preserving a clear model-selection protocol.
- Quant techniques · backtesting
Your best backtest is lying: Sharpe ratios and multiple testing
How noisy a Sharpe ratio is, why the best of 100 backtests of pure noise has a Sharpe above 1, and how the expected-maximum formula and the deflated Sharpe ratio correct for how many things you tried.
- Quant techniques · financial machine learning
Triple-barrier labels: make a financial target follow the path
Replace arbitrary fixed-horizon labels with profit-taking, stop-loss, and time barriers, then account for volatility scaling and overlapping outcomes.
- Quant techniques · risk model validation
Backtesting Value at Risk: coverage and clustering tests
Turn one-step VaR forecasts into exception indicators, test the hit rate and independence, and understand the limited power of rare-event backtests.
- Quant techniques · risk measurement
VaR tells you where the tail starts, expected shortfall tells you how deep it goes
Value at Risk is a quantile; expected shortfall is the average loss beyond it. Under fat tails the 99% VaR barely moves while ES jumps 50%. How to compute both, why regulators switched to 97.5% ES, and how to backtest a VaR model with the Kupiec test.