---
title: "Jensen's Alpha"
method: POST
path: "/portfolios/analysis/alpha"
tags: ["Portfolio Analysis"]
---

# Jensen's Alpha

`POST /portfolios/analysis/alpha`

Compute the Jensen’s alpha of a portfolio in the Capital Asset Pricing Model (CAPM).

References
* [Jensen, Michael C., The Performance of Mutual Funds in the Period 1945-1964 (May 1, 1967). Journal of Finance, Vol. 23, No. 2, pp. 389-416, 1967](https://onlinelibrary.wiley.com/doi/full/10.1111/j.1540-6261.1968.tb00815.x)
* Carl R. Bacon, Practical Portfolio Performance Measurement and Attribution

## Request body

- object
  - `benchmarkReturns` number[], required — benchmarkReturns[t] is the return of the benchmark at the time t; the benchmarkReturns array must have the same length as all the portfolioReturns arrays
  - `riskFreeReturn` number — The constant risk-free arithmetic return over the considered time period, in percentage; exclusive with riskFreeReturns
  - `riskFreeReturns` number[] — riskFreeReturns[t] is the risk-free arithmetic return at the time t; the riskFreeReturns array must have the same length as all the portfolioReturns arrays or the same length minus 1 as all the portfolioValues arrays; exclusive with riskFreeReturn
  - `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
    - `portfolioAlpha` number, required — The portfolio Jensen's alpha, which correponds to the portfolio excess return adjusted for the systematic risk in the Capital Asset Pricing Model (CAPM)

---

[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)
