---
title: "Garman-Klass Volatility"
method: POST
path: "/assets/volatility/estimation/garman-klass"
tags: ["Assets / Volatility Estimation"]
---

# Garman-Klass Volatility

`POST /assets/volatility/estimation/garman-klass`

Compute the Garman-Klass volatility of an asset over a given time period, using open, high, low and close prices.

References
* [Colin Bennett, Trading Volatility, Correlation, Term Structure and Skew](https://www.trading-volatility.com/)
* [Garman, M. B., and M. J. Klass, 1980, On the Estimation of Security Price Volatilities from Historical Data, Journal of Business 53:67–78](https://www.jstor.org/stable/2352358)

## Request body

- object
  - `assets` object[], required
    - `assetPrices` object[], required — assetPrices[t] contains price information for the asset at the date t
      - `date` string, required — The date corresponding to the date t in format YYYY-MM-DD; all dates must be distinct
      - `open` number, required — The open price of the asset at the date t; must be higher than or equal to the low price and lower than or equal to the high price
      - `high` number, required — The high price of the asset at the date t; must be lower than or equal to the high price
      - `low` number, required — The low price of the asset at the date t; must be higher than or equal to the low price
      - `close` number, required — The close price of the asset at the date t; must be higher than or equal to the low price and lower than or equal to the high price

## Response `200`

OK

- object
  - `assets` object[], required
    - `assetVolatility` number, required — The volatility of the asset

---

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