Haircut Sharpe ratio
validate_haircut_sharpeAdjust an observed Sharpe for multiple testing by computing Bonferroni, independent-test, Holm, and BHY haircuts, so you can see the Sharpe a single test would need.
Instructions
Haircut Sharpe for multiple testing (Harvey and Liu 2015): the Sharpe a single test would have needed, by Bonferroni and independent tests, and with the other tests' Sharpes, Holm and BHY. For the probability the Sharpe is real, 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"observed_sharpe_annualized": "<observed_sharpe_annualized>",
"periods_per_year": "<periods_per_year>",
"observations": "<observations>"
},
"name": "validate_haircut_sharpe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tests | No | Tests run, this one included; gives the Bonferroni and independent-test haircuts. | |
| observations | Yes | Return observations behind the Sharpe. | |
| autocorrelation | No | Lag-1 autocorrelation of returns, -1 to 1; default 0. Corrects the annualized Sharpe (Lo 2002). | |
| periods_per_year | Yes | Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly. | |
| observed_sharpe_annualized | Yes | Annualized Sharpe as observed. | |
| other_sharpe_ratios_annualized | No | Annualized Sharpes of the other tests over the same observations; adds Holm and BHY. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | ||
| error | No | ||
| limits | No | ||
| receipt | No | ||
| computed | No |