Best used with an AI agent

40+ live apps, open data APIs, MCP servers, and 200+ guides - more than anyone wants to click through. Point your AI here and it reads the whole map and does the work: finds the tool, pulls the data, runs the analysis, and hands you the links.

Here for the open-source code? Your agent finds the right repo for you - and can even clone and deploy it.

Prefer to explore on your own? Go right ahead.

Paste this to Claude Code, Codex, or any AI agent:
Go to tigzig.com and read tigzig.com/llms.txt. It is a practitioner toolkit - 40+ analytics apps, open no-auth data APIs, MCP servers, open-source repos (github.com/amararun), and 200+ build guides. Help me [your task]. Surface the exact links; where there is an API or MCP, call it directly; and if I want to self-host, find the repo and help me deploy it.

Ulcer Index

Drawdown pain measured by both depth and how long it lasts.

Source data: AMFI daily NAV (17,900+ schemes) + Nifty benchmark indices · Last updated: 2026-07-02 · Open the MFPRO tool

What is the Ulcer Index?

The Ulcer Index measures the depth and duration of drawdowns from prior peaks. Unlike Max Drawdown (which captures only the single worst point), the Ulcer Index reflects the overall pain of being underwater - how deep, how long, and how often.

Formula

Ulcer Index = √(mean of squared percentage drawdowns)

Where percentage drawdown on day i = ((NAVi − Peaki) / Peaki) × 100
Peaki = highest NAV up to day i

Days at a new peak contribute 0 to the sum. Days below the peak contribute their squared drawdown.

Example

Why Ulcer Index Differs from Max Drawdown

Two funds both had −15% max drawdown:

Fund A: Hit −15%, recovered in 2 weeks. Rest of the year was at or near peaks.
Fund B: Hit −15%, took 6 months to recover. Spent most of the period underwater.

Max Drawdown is identical (−15%), but Fund B has a much higher Ulcer Index because it spent far more time in drawdown. Fund B was the more "ulcer-inducing" investment.

How to Interpret

Important Notes

Related metrics

More Advanced Risk methodology from the MFPRO analytics tool: