Data to 6 October 2026

Methods

Margin trading in detail: methods

Code: pipeline/tipsheet/compute/mtf_detail.py, pipeline/tipsheet/publish/mtf_detail.py, step mtf_detail (pipeline/tipsheet/steps/insights_mtf.py). Tests: pipeline/tests/test_mtf_detail.py. Page: /leverage/mtf/. The headline book and its share of market value are on /leverage/ (docs/methods/leverage.md).

Source

NSE’s daily margin-trading disclosure, per security, from April 2004 (Data bank nse_mtf_2004_2012, nse_mtf_2013_2022, nse_mtf). On every day the per-security amounts add up to NSE’s printed total for the book. The amount is the brokers’ outstanding loan against each stock, not the market value of the shares held as collateral.

Measures (weekly, each week’s last trading day)

No look-ahead

AMFI publishes each list in the first week of January or July for the six months just ended. A list counts only from 15 days after its window ends, so no week uses a list published after it.

Limits

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