Skip to content
Skills Library
Finance & accounting · Analysis

mf-returns

/mf-returns

Analyse an Indian mutual fund's track record from its NAV history - trailing returns (1 month to 10 years), rolling-return distribution, maximum drawdown, volatility, and what a monthly SIP actually earned (XIRR) - and compare funds side by side. Use when the user asks how a mutual fund has performed, wants to compare two funds, asks for rolling returns, the worst fall of a fund, or what their SIP in a fund would have made.

Licence
MIT
Last repository change
12.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/mf_returns.py

What it does and when to use it

Analyse an Indian mutual fund's track record from its NAV history - trailing returns (1 month to 10 years), rolling-return distribution, maximum drawdown, volatility, and what a monthly SIP actually earned (XIRR) - and compare funds side by side. Use when the user asks how a mutual fund has performed, wants to compare two funds, asks for rolling returns, the worst fall of a fund, or what their SIP in a fund would have made.

Original author description

Analyse an Indian mutual fund's track record from its NAV history - trailing returns (1 month to 10 years), rolling-return distribution, maximum drawdown, volatility, and what a monthly SIP actually earned (XIRR) - and compare funds side by side. Use when the user asks how a mutual fund has performed, wants to compare two funds, asks for rolling returns, the worst fall of a fund, or what their SIP in a fund would have made.

How it works

  1. Reading the output
  2. How to present and compare
  3. Limits
Original SKILL.md headings · 38 lines, 429 words
SKILL.md preview
---
name: mf-returns
description: Analyse an Indian mutual fund's track record from its NAV history - trailing returns (1 month to 10 years), rolling-return distribution, maximum drawdown, volatility, and what a monthly SIP actually earned (XIRR) - and compare funds side by side. Use when the user asks how a mutual fund has performed, wants to compare two funds, asks for rolling returns, the worst fall of a fund, or what their SIP in a fund would have made.
---

# Mutual Fund Returns

```bash
python scripts/mf_returns.py --scheme-code 122639
python scripts/mf_returns.py --scheme-code 122639 --scheme-code 120716 --sip-amount 15000
```

Find scheme codes with the `market-data` skill: `mf-search "parag parikh flexi cap direct growth"`. Pick the exact plan and option the user holds or would buy. Direct and Regular plans have different returns; use the **Growth** option for return analysis (IDCW NAVs drop at each payout, so their returns here are understated).

## Reading the output

| Field | Meaning |
|---|---|
| `trailing_returns_pct` | Returns ending at the latest NAV. Up to 1 year absolute; 3y, 5y, 10y annualised |
| `rolling_returns` | For every 1, 3 or 5-year window in the fund's history: minimum, quartiles, median, maximum, and the share of windows that lost money |
| `risk.max_drawdown_pct` | The fund's worst peak-to-trough fall, with dates |
| `risk.annualised_volatility_pct` | Variability of daily returns, annualised |
| `sip_actual` | What a monthly SIP over the last 3, 5, 10 years and since inception returned, as XIRR |
| `official_check` | Whether the mirror's latest NAV agrees with AMFI's official file |

## How to present and compare

- **Prefer rolling returns to trailing returns.** A trailing figure depends entirely on today's date and the start date; the rolling distribution shows what investors typically got and the worst case. Quote the median and the minimum together.
- **Put the drawdown next to the return.** "18% a year with a 31% fall in 2020" is the honest statement.
- Compare funds only **within the same category** and over the **same period**. A newer fund has not been through the same markets: check `history_from` before comparing, and say when two histories differ.
- Report differences as they are. If two funds are close, say they are close; do not manufacture a winner.
- State `official_check`. `matches AMFI` is the normal case. "Mirror does not have AMFI's latest date yet" means the history is a day or two behind - fine for return analysis. A `MISMATCH` means do not rely on the figures.

Do not say a fund "will" return anything, and do not recommend buying, selling or switching. Past returns, including rolling returns, do not predict future returns; a fund's manager, size and strategy change.

## Limits

- NAV history comes from mfapi.in, a community mirror of AMFI data (secondary source), cross-checked against AMFI's latest NAV only.
- NAV-based returns already include the fund's expenses, but not exit loads or the investor's taxes.
- No benchmark or category-average comparison, no portfolio holdings, no risk-adjusted ratios beyond volatility and drawdown.
- India only.
Files in this package (2)
  • SKILL.md 3 KB
  • scripts/mf_returns.py 3 KB

Versions

The database has no other skills named mf-returns.

Database snapshot: 13.11.2026 · package version a7a8fd59c896 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100portfolio-xirr
    Calculate XIRR (annualised, money-weighted return) for a SIP, a mutual fund folio, a stock position or a whole portfolio from dated cash flows, optionally valuing mutual fund units at the official AMFI NAV. Use when the user asks for their SIP returns, XIRR, annualised return,…
  • 100artha-navigator
    Real NAV history, returns and weekly performance for Indian mutual funds, from AMFI and mfapi.in (free, no keys). Use whenever the user asks how an Indian mutual fund or their MF portfolio performed — weekly or monthly returns, 1Y/3Y/5Y CAGR, drawdown, "how did my funds do this…
  • 100fund-risk-compare
    Compare multiple ETFs using NAV CSV data, generating key risk-return metrics like annualized return, max drawdown, Sharpe ratio, and a correlation matrix. Triggered when users ask to compare ETFs or funds, calculate performance metrics, analyze NAV data, or mention terms like…
  • 90fipiran
    Read-only Fipiran (fipiran.ir) data on Iranian mutual funds and ETFs: NAV, returns, size, managers. Use when the user asks about Fipiran Funds (fipiran.ir) or wants stock exchange quotes, company filings, funds, bonds or commodity exchange trades in Iran.
  • 100fund-vehicles
    Compare and select investment vehicles including mutual funds, ETFs, index funds, and separately managed accounts. Use when the user asks about ETF vs mutual fund, expense ratios, fund tax efficiency, ETF creation/redemption, tracking error, or share class comparisons. Also…
  • 100artha-xray
    Finds stock and sector overlap across an Indian mutual fund portfolio — which funds hold the same stocks, how many rupees you really have in each stock and sector through all funds combined, and which fund pairs largely duplicate each other. Use when the user asks about fund…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.