Data to 20 November 2026
About

Methods

Asset panel, trend, momentum and the portfolio lab

Code:

Bundles: models/* and lab/*.

Rules and results: the rules are pre-registered, so results can’t be fitted after the fact:

Each spec logs its results, including the null ones.

The asset panel

Daily growth-of-₹1 series for each asset class:

AssetSourceNotes
EquityNSE total-return indices: Nifty 50, Next 50, 100, 500, Midcap 150, Smallcap 250 and othersBad prints repaired (see indices.md)
GoldWorld Gold Council INR price, from 2005The domestic price including import duty, which is what Indian gold ETFs track. Before 2005, it is ratio-linked to the USD price × USD/INR. The duty premium is 1–2% before 2012, 8–15% after the 2012–13 hikes and about 5% after the 2024 cut
G-secNSE 5-year benchmark G-sec index (total return), from 2001A 5-year bond, not a broad bond index
CashAccrues the 91-day T-bill yield, using only yields already published2012–2025 CAGR 6.66%, against 6.26% for NSE’s 1-day rate index

Backtest rules common to all models

After-tax results (aftertax.py)

Headline results

These were logged on 2026-10-01 and corrected by the audit on 2026-10-03 (data to 1 Oct 2026).

Trend rules:

Sector momentum: not significant.

Portfolio lab (2002-10 to 2026-09):

The model board (/models/)

Spec: docs/research/models_v1_spec.md, registered 2026-10-08 (commit 3220f4e).

Code:

Bundles: models/board, models/library, models/live, and for each model models/m/<code>, models/curve/<code> and models/weights/<code>.

One engine. Every model runs on the portfolio lab’s engine (lab/engine.py), with:

Models taken from the lab (from_lab) use the lab’s rule and rebalancing unchanged, so their numbers match /lab/. The single-market trend rules are the same rules as /trend/evidence/. They run on the lab’s cost schedule here, so their numbers can differ slightly from that page.

Window. Each model starts at the first session after its first decision, and never before 2005-04-01. It is compared with a fixed mix of the same assets, rebalanced each January, over exactly the same dates:

Foreign legs:

Sectors. There are twelve, one index per sector. In the live-only universe, each sector counts from 13 months after its launch date in compute/trend_launch_dates.csv.

The trend score. barometers_trend.signals gives 24 votes on each market’s level over cash. The weekly models trade only when a weight is more than 5 points off target.

Amendment 16 rules (2026-10-14). Four rule kinds in lab/rules.py: one_over_n (equal weights in every sleeve, back to equal at each month-end), robust_trend (each sleeve half in on its 12-month average, half on its 12-month return over cash), robust_momentum (eight weekly votes: best equity sleeve over 63/126/189/252 sessions if it passes a return-over-cash or above-its-average test, else the fallback; weights are vote shares) and adaptive (top three by 126-session return, minimum variance on the Ledoit-Wolf covariance of 60 sessions). Each is in the look-ahead scramble test. 1/N is graded against the Nifty 500 bought and held, the others against equal weights of their assets. The references on the site come from apps/site/src/lib/papers.ts, each DOI checked against Crossref.

Amendment 18 rule (2026-10-14). countercyclical reads mcap_gdp (density_mcap_gdp.parquet) and govt_debt (BIS government debt / GDP from gt_series.parquet, dated nine months after its quarter begins, when it was public) through countercyclical_inputs in models/run.py; those steps run before the model step but are not hard needs: a model whose plan comes out empty (inputs missing that night) is set aside for the run and its last published bundles stand (set_aside in the step record).

Board state:

The aggregate is the mean equity share across the board’s models, excluding benchmarks, with foreign equity counted as equity.

Statistics:

The live log (live.py):

It lives in .cache/derived/models_live_log.parquet, which the cloud refresh keeps in R2, and is published in full as models/live.

16 October 2026 comparison and recording update

The rebuilt model comparison uses the exact shared weekly observation dates across selected models and benchmarks, rebased to one rupee at the first shared date. It does not fill gaps. Window returns include model costs and exclude tax; an after-tax window requires a separate start-date simulation. Weekly-observed falls can miss daily troughs, and sub-year windows are not annualised. Editorial group membership does not depend on performance.

Since-entry returns recomputed from current wealth remain backtests. Frozen paper-log returns are separate. A row is reconstructed when recorded after its session date in India, even if it was the latest source session then. Only the latest contiguous on-time suffix is presented as a contemporaneous record. Legacy hashes stay unchanged; new rows hash recording metadata too. Log-versus-replay reconciliation uses matching daily pre-tax returns and is unavailable without daily replay. Source ETF NAV rows remain internal; the separately registered ETF model results do not replace the original foreign price-index models. See docs/reference/international-etf-sources.md.

ETF versions

The ETF-input amendment is registered in docs/research/models_etf_spec.md. IVV represents US large caps; ACWI includes developed and emerging markets, including India. Each has separate trend, GTAA and dual-momentum versions. The original index-input models keep their codes and histories. ACWX is an available input, with no new strategy in this amendment.

ETF signals and returns use official full-workbook NAVs with ex-date distributions reinvested and splits accounted for, converted to INR at the last available ECB rate of the US date (maximum four calendar days). Only US dates strictly before the Indian session are available to a decision. A new version stops when its final actual workbook observation first reaches the Indian calendar. A newer screener YTD cannot fill the missing tail. Each model waits for its entire signal lookback; no pre-inception history is added.

Fund expenses are already in NAV. Additional annual fund drag is zero for these ETF assets, with assumed execution costs of 0.60% each way. NAV-based execution is an approximation. ETF-version results are before investor tax and dividend withholding; the capital-gains-only engine is not used to claim an after-tax return from a reinvested distribution series. Monthly issuer reconciliation residuals remain documented in the source-quality note.

Published paper-log precision

The models/live audit export publishes returns at the twelve-decimal precision used in the hash payload, with an explicit hash_version on every row. Version 1 covers previous hash, model, session date, net return, gross return and the target JSON string; version 2 also covers recording time and the late flag. The payload is a compact JSON list. Non-finite gross returns are null. Each model begins at 64 zeroes.

The older public export rounded returns to four decimals, which prevented readers from recomputing its hashes from that JSON. The export is corrected; the stored ledger and its existing hashes are unchanged. The publication round-trip is tested for both versions and on actual frozen rows.

This note is the repository file docs/methods/models.md, rendered as-is.