---
title: "Ulcer Index"
method: POST
path: "/portfolios/analysis/drawdowns/ulcer-index"
tags: ["Portfolio Analysis / Drawdowns"]
---

# Ulcer Index

`POST /portfolios/analysis/drawdowns/ulcer-index`

Compute the Ulcer Index of a portfolio.

References
* Carl R. Bacon, Practical Portfolio Performance Measurement and Attribution
* [Peter G. Martin, Ulcer Index, An Alternative Approach to the Measurement of Investment Risk & Risk-Adjusted Performance](http://www.tangotools.com/ui/ui.htm)

## Request body

- object
  - `portfolios` object[], required
    - `portfolioReturns` number[] — portfolioReturns[t] is the arithmetic return of the portfolio at the time t; exclusive with portfolioValues
    - `portfolioValues` number[] — portfolioValues[t] is the value of the portfolio at the time t; exclusive with portfolioReturns

## Response `200`

OK

- object
  - `portfolios` object[], required
    - `portfolioUlcerIndex` number, required — The Ulcer Index of the portfolio

---

[API](https://skmtc.net/portfoliooptimizer/apis/portfolio-optimizer.md) · [All operations](https://skmtc.net/portfoliooptimizer/apis/portfolio-optimizer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portfoliooptimizer/portfolio-optimizer/versions/479fd4ac44aa/schema)
