# Application stats

The APWine application provides statistics useful for all users willing to interact with the protocol.

## #

Displayed statistics### #

Global StatisticsThe global statistics section provides information about the state of the APWine protocol and AMM.

**Tokenized TVL**#

The **Tokenized TVL** displays the amount of IBT (Interest Bearing Tokens) deposited in the protocol.

ℹ️ The data displayed correspond to the network you are currently connected to (e.g Mainnet, Polygon).

**Exchange liquidity**#

The **Exchange Liquidity** displays the amount of liquidity deposited in each pair of the AMM (including the underlying).

ℹ️ The data displayed correspond to the network you are currently connected to (e.g Mainnet, Polygon).

**Current Period**#

The current period displays the status of the different futures. It includes the start date, the end date (term of the future period) and shows the time remaining before the future reach maturity.

### #

Future statisticsThe Future statistics displays an aggregation of data for each future.

**Tokenized TVL**#

The **Tokenized TVL** corresponds to the amount of IBT (Interest Bearing Tokens) deposited in the corresponding Future Vault.

**Pools TVL**#

The **Pools TVL** displays the amount of liquidity deposited in each pair of the corresponding AMM.

**Spot APR**#

The **Spot APR** displays the APR of the IBT given by the corresponding platform contracts.

**Market APR**#

The **Market APR** represents the APRs implied by the spot price of the derivatives on the amm.

- The
**PT APR**is derived from the PT price in the first pair of the AMM. At expiry of the future the PT token will be worth one underlying token. The spot PT price in the AMM represent therefore the discounted underlying token. From this price the**discount rate**is computed for the time remaining in the period. To this discount the yield already generated in the future for one deposited underlying is added. This gives the APR of the period implied by the first pair of the AMM.

$P^t_{U/PT} = PV(P^T_{U/PT}) = \frac{P^T_{U/PT}}{1+r_{remaining}}$ with $P^t_{U/PT}$ the price of the PT in underlying at time $t$. Time $T$ correspond to the term of the future. Hence $P^T_{U/PT}=1$. $r_{remaining}$ is the discount rate for the time remaining in the period.

$\implies P^t_{U/PT} = \frac{1}{1+r_{remaining}} \implies r_{remaining} = \frac{1}{P^t_{U/PT}}-1$

The yield generated so far $y^t$ is taken into account. The APR is then derived from this two values as $APR_{PT} = (y^t + r_{remaining}) \times \frac{t_{1year}}{t_{remaining}}$

- The
**FYT APR**is derived from the ratio of FYT and PT in the second pair of the AMM. The ratio of FYT/PT in the second pair of the AMM represent directly the APR of the period predicted by the market.

$APR_{FYT} = P^t_{FYT/PT} \times \frac{t_{1year}}{t_{remaining}}$ with $P^t_{FYT/PT}$ the FYT price in PT.

To understand how prices are computed from the AMM state follow this link.