> 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/pamm-de-fen-pei-fang-shi.md).

# PAMM 的分配方式

本文介绍了 PAMM 可用的分配方式，并通过示例说明其使用方法。配置 PAMM 设置时，可以选择以下两种方式之一作为默认分配方式：

* 入金和提款时重新分配
* 入金时不处理，提款时自动校正

{% hint style="info" %}
自动校正始终会导致 PAMM 主账户中的每个未平仓头寸被部分平仓，且平仓交易量至少为相应交易品种所规定的最小交易量。
{% endhint %}

**计算公式**

以下公式用于示例中的计算：

`净值 = 账户余额 + 浮动盈亏`

`浮动盈亏 = 头寸交易量 ×（当前市场价格 - 开仓价格）× 合约规模`


---

# 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/pamm-de-fen-pei-fang-shi.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.
