> For the complete documentation index, see [llms.txt](https://lti.gitbook.io/user_guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lti.gitbook.io/user_guide/zh-cn/xiang-guan-gai-nian/shou-yilji-suan.md).

# 收益率计算

收益率是指交易账户在特定期间内产生的盈利或亏损，以百分比表示。收益率反映账户净值的变化，不受入金和提款影响。

正收益率表示盈利，负收益率表示亏损。

**计算公式**

系统会针对两次余额操作之间的期间计算收益率。余额操作包括入金、提款或内部转账等。

计算公式如下：

`Return = Equity_end / Equity_start`

其中：

* **Equity\_start** 是某一期间开始时的账户净值，即完成余额操作后的账户净值。
* **Equity\_end** 是该期间结束时的账户净值，即执行下一次余额操作前的账户净值。

<figure><img src="https://1963181118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNxwcNnEuBTBq87kginPk%2Fuploads%2Fgit-blob-cfdf6e8ff2a3b2618cf6d22468606cf6d153bc2f%2Freturn-by-periods.png?alt=media" alt="Return by periods"><figcaption><p>Return by periods</p></figcaption></figure>

多个期间的收益率通过将各期间的收益率相乘计算：

`Return = Return P1 × Return P2 × Return P3 × … × Return Pn`

如需将计算得出的收益率比值转换为百分比，请使用以下公式：

`Return (%) = (Return - 1) × 100`

**示例**

假设一名交易员创建了一个主账户，并向该账户存入 $500。

在下一次余额操作之前，账户净值从 $500 增加至 $1,800。

**期间 1**的收益率计算如下：

`Equity_start = $500`

`Equity_end = $1,800`

`Return P1 = 1,800 / 500 = 3.6000`

`Return P1 (%) = (3.6000 - 1) × 100 = 260.00%`

之后，交易员再次存入 $400。假设在下一次余额操作之前，账户净值增加了 $800。

**期间 2**的收益率计算如下：

`Equity_start = $1,800 + $400 = $2,200`

`Equity_end = $2,200 + $800 = $3,000`

`Return P2 = 3,000 / 2,200 = 1.3636`

`Return P2 (%) = (1.3636 - 1) × 100 = 36.36%`

随后，交易员提取 $500。假设在下一次余额操作之前，账户净值没有发生变化。

**期间 3**的收益率计算如下：

`Equity_start = $3,000 - $500 = $2,500`

`Equity_end = $2,500`

`Return P3 = 2,500 / 2,500 = 1`

`Return P3 (%) = (1 - 1) × 100 = 0%`

三个期间的总收益率计算如下：

`三个期间的收益率 = 3.6000 × 1.3636 × 1 = 4.9090`

`三个期间的收益率 (%) = (4.9090 - 1) × 100 = 3.9090 × 100 = 390.90%`

‍


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://lti.gitbook.io/user_guide/zh-cn/xiang-guan-gai-nian/shou-yilji-suan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
