# SOPD (Spent Output Price Distribution)

## Indicator Overview

Spent Output Price Distribution (SOPD) shows at which prices UTXOs were spent on a given day (i.e. each bar shows the amount of Bitcoin volume that was moved within that specified price bucket). The price specified on the x-axis refers to the lower bound of that bucket.

There are two variants of this metric based on x-axis partitioning:

* **ATH-partitioned** (price buckets are defined by dividing the range between 0 and the current ATH in 100 equally-spaced partitions)
* **% partitioned** (price buckets are defined by taking the day's closing price and creating 50 equally-spaced bucket each above and below the closing price in steps of +/- 2%)

<figure><img src="/files/N7xXrSN3dO2gWW2gArrG" alt="Bitcoin: SOPD (ATH partitioned)"><figcaption></figcaption></figure>

* View [SOPD (ATH partitioned)](https://studio.glassnode.com/metrics?a=BTC\&m=indicators.SpentOutputPriceDistributionAth)/[SOPD (% partitioned)](https://studio.glassnode.com/metrics?a=BTC\&m=indicators.SpentOutputPriceDistributionPercent) in Glassnode Studio
* View [SOPD (ATH partitioned)](https://docs.glassnode.com/basic-api/endpoints/indicators#sopd-ath-partitioned)/[SOPD (% partitioned)](https://docs.glassnode.com/basic-api/endpoints/indicators#sopd-partitioned) in Glassnode API Docs

## How is it measured?

SOPD price buckets are calculated by adding the value of all spent outputs where the price when the spent outputs were created falls into that given bucket.

$$
\begin{align\*} \textrm{SOPD}(\textrm{price bucket}) &= \textrm{value}~~\color{gray}{\textrm{(of all spent outputs where price}\_{\textrm{created}}~~\textrm{is in bucket)}} \end{align\*}
$$

## About

### Introduced By

[Renato Shirakashi](https://twitter.com/renato_shira)

### Date Introduced

April 2020

## Further Resources

Glassnode - [Twitter Thread](https://twitter.com/glassnode/status/1254816216746725377)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.glassnode.com/guides-and-tutorials/metric-guides/price-distribution/sopd-spent-output-price-distribution.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
