# 核心公式

## Net Profits：净收益

Net Profites=收取的交易费用 - 无常损失 - 重新平衡损失 - 绩效费用

## Fee Return：手续费收益率

Sum(每笔手续费收益/每笔手续费对应的TVL)

## Fee APR：手续费年化

* Last  24H APR = (最近24小时的手续费收益率)\*365
* Last Week APR=（最近一周的手续费收益率/7 ）\*365
* Last Month APR=（最近一个月的手续费收益率/当月天数 ）\*365
* Life time APR=（策略开始运行到现在的手续费收益率/策略运行天数 ） \*365

## Net Return：净收益率(币本位无损收益率)

Net Return=（当前仓位价值/初始净仓位价值）-1，仓位价值根据当前价格计算

**（1）计算用户当前仓位价值：**

* 用户当前参与流动性挖矿的仓位信息（Current Position）： token0 =B0 , token1 =B1
* 获取当前实时价格： Price
* **用户当前仓位价值**：B0 + B1 \* Price

**（2）计算用户初始净仓位价值：**

* 用户初始存入的仓位信息（配平后）：token0=A0 , token1=A1
* **用户初始净仓位价值**：Net  Position=A0 +A1 \* Price
  * 若用户参与挖矿期间提取过资产，则计算提取后剩余的净仓位价值

**（3）计算用户挖矿净收益率Net Return：**

* Net Return = （当前仓位价值/初始净仓位价值）= \[ (B0 + B1 \* Price) / （A0 +A1 \* Price ）]- 1

**举例说明：**

* 8月6日，某用户选择USDC-WETH策略池进行流动性挖矿，8月6日ETH价格：$4000

  用户初始投入仓位信息（配平后）： USDC =4000个，WETH=1个
* 8月10日，用户参与流动性挖矿的仓位信息：USDC=3500个，WETH=1.15个，8月10日ETH 价格：$3800

（1）计算用户当前（8月10日）仓位价值：3500USDC+1.15WETH\*3800=7870USDC

（2）计算用户净仓位价值：4000USDC+1WETH\*3800=7800USDC

注：用户期间未进行取款，初始仓位价值即为净仓位价值

（3）计算用户8月6日-8月10日挖矿净收益率Net Return：

Net Return = \[（8月10日仓位价值）/（8月6日仓位价值）] -1=（7870USDC/7800USDC）-1 =0.009

## Net APR：净收益年化(币本位无损APR)

Net APR = (Net Return/策略运行天数)\*365={ \[ (当前仓位价值/初始净仓位价值）-1] /策略运行天数 } \* 365

根据最新价格计算分别计算出:

当前持仓、24小时之前持仓、1周之前持仓、1个月之前持仓、初始持仓的仓位价值

* Last 24h APR = { \[ (当前持仓价值 / 24小时之前的持仓价值）-1 ] } \* 365
* Last Week APR ={ \[ (当前持仓价值/ 1周之前的持仓价值）-1 ] / 7 } \* 365
* Last Month APR = { \[ (当前持仓价值 / 1个月之前的持仓价值）-1 ] / 30 } \* 365
* LifeTime APR = { \[ (当前持仓价值/初始持仓价值）-1] /策略运行天数 }  \* 365

举例说明：

根据上述案例，某用户8月6日-8月10日挖矿净收益率Net Return：

Net Return = \[（8月10日仓位价值）/（8月6日仓位价值）] -1=（8060USDC/7800USDC）-1 =0.03

**则用户8月6日-8月10日净收益年化Net APR：**

Net APR=(Net Return/策略运行天数)\*365=（0.009/5）\*365=65.7%


---

# 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://universefinance.gitbook.io/docs/chinese/user-guide/jin-jie-zhi-nan/he-xin-gong-shi.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.
