# 核心功能示例-必看

### 📌止盈功能补充说明

#### **1.若超时设置过长，不保证100%生效**

#### **2.卖出数量基于剩余持仓来计算**

示例：假设买入数量为100，分段(1)设置卖出10%，分段(2)设置卖出20%

分段(1)卖出数量：100\*0.1=10

分段(2)卖出数量：(100-10)\*0.2=18

#### 3.多分段的价格上涨是累加计算

例如：设置分段（1）价格上涨10%，分段（2）价格上涨20%。

如果**以买入价格为基数**来计算，分段（2）的触发涨幅是30%(10%+20%=30%)

#### 4.如果只有一个分段或者最后一个分段卖出比例没有设置为100%，此时将<mark style="color:red;">每隔</mark>一个超时时间或价格上涨值 来卖出相应的比例，直到剩余持仓小于最小卖出金额（该值在全局配置中设置）时才全部卖出。

#### 5.如果价格在一瞬间暴涨且触发多个止盈分段，此时有可能会跳过前面的止盈分段，而直接执行最后的止盈分段

### 📌示例

#### **1.低流动性清仓**

**当成功狙击某个dev时，假如市值没有上涨，选择立即清仓。假如市值有上涨，可以选择不卖进入下一分段赚取更多利润。设置如下：**

<figure><img src="/files/lGlbgwGoLnOOTiK0ogR1" alt=""><figcaption></figcaption></figure>

#### **2.翻倍出本**

**假设在市值100时，买入数量为100，止盈设置如下图所示：**

<figure><img src="/files/fZwecUCi0Qu6Y8WI0aRL" alt=""><figcaption></figcaption></figure>

卖出情况如下图：将在涨幅达到**第一个100%**&#x65F6;卖出持仓的50%，**第二个100%（即涨幅达到200%）**&#x65F6;卖出剩余持仓的50%。依次类推，直到剩余持仓小于最小卖出金额时清仓。

<figure><img src="/files/BwRsiLCgBJX2dM61HUUF" alt=""><figcaption></figcaption></figure>

#### 3.低市值少卖，高市值多次卖

当价格上涨30%，卖出1%。当价格上涨80%卖出1%。然后**进入最后一个分段，开始无限卖**。每过5秒，卖出剩余持仓的20%，直到价格突然上涨200%卖出100%清仓，或者剩余持仓小于最小卖出金额时清仓。设置如下图：

<figure><img src="/files/fpTTTnJ4p3lHbEAXHV8U" alt=""><figcaption></figcaption></figure>


---

# 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://docs.akbot.pro/ji-chu-shi-yong/he-xin-gong-neng-shi-li-bi-kan.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.
