---
title: "Arithmetic Returns"
method: POST
path: "/assets/returns"
tags: ["Assets / Returns"]
---

# Arithmetic Returns

`POST /assets/returns`

Compute the arithmetic returns of an asset.

References
* [Wikipedia, Rate of Return](https://en.wikipedia.org/wiki/Rate_of_return#Return)

## Request body

- object
  - `assets` object[], required
    - `assetPrices` number[], required — assetPrices[t] is the price of the asset at the time t

## Response `200`

OK

- object
  - `assets` object[], required
    - `assetReturns` number[], required — assetReturns[t] is the arithmetic return of the asset from the time t-1 to the time t, in percentage

---

[API](https://skmtc.dev/portfoliooptimizer/apis/portfolio-optimizer.md) · [All operations](https://skmtc.dev/portfoliooptimizer/apis/portfolio-optimizer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/portfoliooptimizer/portfolio-optimizer/revisions/d89d19b63b5d/schema)
