> 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/tou-zi-zhe-feng-xian-xian-e.md).

# 投资者风险限额

投资者可以为每项跟单订阅设置风险限额，以限制该订阅可能造成的损失。

风险限额是投资账户可因单项跟单订阅承受的最大亏损金额。

#### 风险限额计算

只要以下各项的合计金额未超过为该跟单订阅设置的风险限额，该订阅就会保持有效状态：

* 根据特定跟单订阅复制到投资账户的头寸所计算的已实现盈亏
* 根据相同头寸所计算的浮动盈亏
* 按照跟单订阅费用方案支付的费用总额

`（已实现盈亏 + 浮动盈亏 + 已支付费用）<= 风险限额数值`

如果超过风险限额，系统将按照以下流程自动终止跟单订阅：

* 关闭通过该跟单订阅复制到投资账户的所有未平仓头寸。
* 按照该跟单订阅的费用方案向投资者收取费用。
* 投资账户取消对主账户的订阅。

**示例**

假设投资者为某项跟单订阅设置了 $400 的风险限额。在某一时刻，投资账户的交易参数如下：

* 根据该跟单订阅复制到投资账户的头寸所计算的已实现盈亏为 $200。
* 根据该跟单订阅复制到投资账户的头寸所计算的浮动盈亏为 -$551。
* 投资者按照跟单订阅费用方案支付的费用总额为 $50。

`风险限额 = -$400`

`已实现盈亏 = $200`

`浮动盈亏 = -$551`

`已支付费用 = -$50`

`(200 - 551 - 50) > -400`

`-401 > -400`

由于超过风险限额，该跟单订阅将被终止。

\
风险限额用于触发跟单订阅的终止流程。投资账户的实际亏损可能与为该订阅设置的风险限额金额不同，具体取决于投资账户中未平仓头寸的实际平仓价格。<br>

注意：英文原文示例中的 `-401 > -400` 在数学上不成立，应为 `-401 < -400`。正式发布前，建议向产品或开发团队确认风险限额公式以及比较符号。


---

# 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/tou-zi-zhe-feng-xian-xian-e.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.
