13F Portfolio Clone Backtest
GetInstitutionCloneBacktestBacktest how cloning an institutional filer's reported 13F portfolio would have performed against a market benchmark, either over a trailing window (windowYears) or an explicit fromDate/toDate range. Reconstructs the filer's portfolio at each quarterly 13F snapshot, rebalances on the SEC filing lag, and values each exact listed security on raw closing prices. Returns price return (dividends excluded), CAGR, and max drawdown for the clone and benchmark, plus price-return alpha. Returns are unavailable when a held security or benchmark crosses a captured split without a certified price basis; the requested window is not shortened to hide it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | No | Optional window end in YYYY-MM-DD format (defaults to today when only fromDate is given) | |
| fromDate | No | Optional window start in YYYY-MM-DD format for an anchored historical backtest (e.g. 2015-01-01); overrides windowYears | |
| benchmark | No | Benchmark ticker to compare against (default: SPY) | SPY |
| institution | Yes | Institution name or SEC CIK (e.g., 'Berkshire Hathaway', '1067983', or zero-padded '0001067983'). Unique partials and verified aliases resolve; ambiguous partials return candidate CIKs. | |
| windowYears | No | Trailing window length in years anchored at today (default: 3, clamped to 1-20; ignored when fromDate/toDate are supplied) |