> 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/hui-che-he-zui-da-hui-che-ji-suan.md).

# 回撤和最大回撤计算

回撤（Drawdown，DD）用于衡量交易账户在特定期间内因亏损交易造成的净值下降幅度，以百分比表示。

最大回撤（Maximum Drawdown，Max DD）表示交易账户在整个存续期间内，从净值最高点下降至最低点的最大幅度。

**计算公式**

DD 根据账户收益率计算。账户收益率则按照该账户两次余额操作之间的期间分别计算。有关详细信息，请参阅**收益率计算**。

假设交易账户在三个期间内计算得出以下收益率：

| 期间       | 收益率    | 最高收益率  |
| -------- | ------ | ------ |
| **期间 1** | 3.6000 | 3.6000 |
| **期间 2** | 1.3636 | 3.6000 |
| **期间 3** | 1.0000 | 3.6000 |

账户存续期间内记录的最高收益率将作为该账户的**最高收益率**。在此示例中，最高收益率为 3.6000。

如果某一期间的收益率等于最高收益率，则该期间的 DD 为 0，表示账户在该期间内没有产生回撤。

如果某一期间的收益率不等于最高收益率，则按照以下公式计算 DD：

`DD = 1 - (1 + Return) / (1 + Maximum return) × 100`

其中：

* **Return** 是账户在两次余额操作之间的某一期间内计算得出的收益率。
* **Maximum return** 是账户在整个存续期间内记录的最高收益率。

在此示例中：

**期间 1**的 DD 为 0。

**期间 2**的 DD 计算如下：

`DD P2 = 1 - (1 + 1.3636) / (1 + 3.6000) = 0.4862 × 100 = 48.62%`

**期间 3**的 DD 计算如下：

`DD P3 = 1 - (1 + 1.0000) / (1 + 3.6000) = 0.5652 × 100 = 56.52%`

账户存续期间内记录的最高 DD 将作为该账户的 Max DD。在此示例中，最大回撤为 56.52%。


---

# 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/hui-che-he-zui-da-hui-che-ji-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.
