> For the complete documentation index, see [llms.txt](https://docs.gmgn.ai/cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gmgn.ai/cn/zi-dong-jiao-yi-qian-yi-zi-dong-mai.md).

# 自动交易: 迁移自动卖

规则：

* SOL 链内盘代币均能设置迁移自动卖
* 只有在开盘前设置完成并点击确定后，在DEX添加官方流动性后才会自动卖出
* 一个代币只能创建一次迁移自动卖任务，开盘后不可创建

## 1. 迁移自动卖 - web端

<figure><img src="/files/PFjSsknswcHCreRmXgta" alt="" width="315"><figcaption></figcaption></figure>

1）创建迁移自动卖任务：

* 在未打满的代币页里打开自动交易，点击迁移自动狙，进入编辑页面
* 设置卖出持仓比例
* 设置滑点、优先费、防夹，并保存
* 设置完成后，在任何你想要开盘卖出的代币中，点击确定，该代币将在DEX添加官方流动性后，自动卖出你设置的 SOL 数量

<figure><img src="/files/IrPX5IXsZpm4vT2blvC4" alt="" width="375"><figcaption></figcaption></figure>

2）查看或删除你的迁移自动卖任务：

* 在代币详情页-订单中可查看你当前的迁移自动卖任务，可根据需要查看或者删除

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

3）SOL链代币内盘交易时，如果勾选迁移自动卖，那么在买入的同时会自动创建迁移自动卖任务

<figure><img src="/files/GG7Od7OwEbJ8UvtVUzCb" alt="" width="312"><figcaption></figcaption></figure>

## 2. 迁移自动卖 - bot端

1）创建迁移自动卖任务：

* 当你输入未开盘代币合约地址给机器人时，你将看到Raydium 卖选项，激活后意味着当你买入的未开盘代币在迁移自动卖时，自动卖出你设置的比例

<figure><img src="/files/7UKyQjm4jFtO6iaJUnad" alt="" width="563"><figcaption></figcaption></figure>

2）调整迁移自动卖设置：

* 在设置中，你可以点击迁移自动卖比例，在回复框内输入你想卖出的比例，发送后即可完成更改&#x20;

<figure><img src="/files/sEA1vfpiEL1wxOWkzYeP" alt="" width="375"><figcaption></figcaption></figure>

3）查看或删除你的迁移自动卖任务：

* 目前GMGN TG机器人还不支持查看迁移自动卖出任务，请到网页端自动交易看板查看


---

# 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://docs.gmgn.ai/cn/zi-dong-jiao-yi-qian-yi-zi-dong-mai.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.
