> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cryptoquant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stock to Flow Reversion

> Stock to Flow (SF) Reversion is defined as a ratio of the price of BTC divided by SF ratio.

## What is Stock to Flow Reversion?

Stock to Flow (SF) Reversion is defined as a ratio of the price of BTC divided by SF ratio.

$$
\text{SF Reversion} = \frac{\text{Price of BTC}}{\text{SF Ratio}}
$$

## How to interpret Stock to Flow Reversion

SF reversion is an indicator that measures the relative difference between the market price and SF ratio. SF ratio so far correctly estimates the price trend, which means the price deviation from SF ratio can be an opportunity to bet. If SF reversion is too high, the market price has deviated far above its SF-model value and would likely be corrected soon, meaning a bearish moment.

## When to use Stock to Flow Reversion

### Predicting market tops and bottoms

We first build a linear regression model of SF reversion to the price to align two variables. After aligning both in a single graph shown below, we can clearly see the deviations of SF reversion to the price and those points clearly indicate bullish (green boxes) and bearish (red boxes) regimes respectively.

<img src="https://mintcdn.com/cryptoquant/Hw2Gulyp0hXS0SGm/images/userguide/-MEMdl0bCFOw95sAzcYk.png?fit=max&auto=format&n=Hw2Gulyp0hXS0SGm&q=85&s=0a7007cca2cf6effbdfec30e45aa9ae7" alt="" width="2638" height="1440" data-path="images/userguide/-MEMdl0bCFOw95sAzcYk.png" />

## Link to Our Data

* [Stock to Flow Reversion in CryptoQuant Live Chart](https://cryptoquant.com/overview/full/468?window=day)

## Related API Endpoints

Query this metric directly from the CryptoQuant Data API:

* **BTC** — [Stock to Flow](/api-reference/btc-network-indicator/stock-to-flow)
