Minimum backtest length
validate_backtest_lengthCalculate minimum backtest years so the best of N independent trials is not expected to hit a target Sharpe by luck, and find trials allowed. Plan a search before using deflated Sharpe.
Instructions
Minimum backtest length (years) before the best of N independent trials is not expected to reach a target Sharpe by luck; with backtest_years, the most trials those years allow. For planning a search; once it has a result, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backtest_years | No | Backtest length in years, for the most trials it allows. | |
| target_sharpe_annualized | No | In-sample annualized Sharpe you would call a discovery; default 1. | |
| effective_independent_trials | No | Independent trials tried (backtests, parameter sets, ideas). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | ||
| error | No | ||
| limits | No | ||
| receipt | No | ||
| computed | No |