> For the complete documentation index, see [llms.txt](https://minara.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minara.ai/docs/minara-handbook/zh/gong-zuo-liu/how-to-set-up-automated-trade-execution.md).

# 自动化交易执行

Minara 可以监控特定价格条件，并在条件满足时自动下单，非常适合逢低买入、止盈或设置止损，无需持续手动盯盘。

***

### 你将构建什么

一个工作流，其：

* 监控 **代币的绝对价格** （≥ 或 ≤ 某个设定值）
* 执行 **买入、卖出或两者** 当条件满足时，包括 **止盈（TP）** 和/或 **止损（SL）** 策略
* 向你发送确认执行的通知

> 价格监控由我们的监控系统处理：实时且可靠，但仅适用于受支持链上的受支持代币。

***

### 示例提示

你只需描述你想要的下单逻辑。Minara 会将其转换为一个工作流，使用我们专用的监控系统实现高精度执行。

1. **简单买入/卖出触发**

   > "如果 ETH 价格跌至 4,000 USDT，则买入价值 500 USDT 的 ETH。"
   >
   > "如果 BTC 价格达到 130,000 USDT，则卖出 0.1 BTC。"
   >
   > "如果黄金（XAU）跌至 2,900 美元，则买入价值 200 美元的黄金。"
2. **买入 + TP/SL 策略**

   > "如果价格 ≤ 175 USDT，则买入价值 200 USDT 的 SOL，然后在 200 USDT 止盈，在 160 USDT 止损。"
   >
   > "如果 NVDA 触及 1,000 美元，则买入价值 300 美元的 NVDA，并设置 5% 止损和 15% 止盈。"
3. **阶梯式买入**

   > "在 4,000 USDT 买入 200 美元的 ETH，在 4,150 USDT 买入 200 美元，在 4,250 USDT 买入 200 美元。"
   >
   > "在 200 美元时买入价值 100 美元的 AAPL，在 195 美元时买入价值 100 美元，在 190 美元时买入价值 100 美元。"
4. **部分退出**

   > "如果 DOGE 价格达到 0.25 USDT，则卖出我持仓的一半。"

***

### 最佳实践

* 使用 **带 TP/SL 的限价单** 以获得更好的风险管理。
* 保持你的 Telegram 账号已绑定，并 [Minara 通知机器人](https://t.me/MinaraNotificationBot) 已启用，以获取实时执行更新。
* 如果你没有收到本应收到的执行结果邮件，请先检查垃圾邮件文件夹。
* 避免不必要地将 TP/SL 间距设得过小。突然的价格插针可能会触发过早退出。
* 对于小市值 meme 代币，山寨品和同名仿冒品很常见，尤其是在热度高涨时。为避免出错，请务必注明并仔细核对链和代币的合约地址。

> BTC、ETH 或 SOL 等主流资产已经通过合约完成消歧。

***

### 未来发展

* 基于百分比的触发条件（例如，24 小时内 +5%）
* 用于订单触发的期货、杠杆和高级策略
* 多条件订单（例如，仅当价格条件 + 成交量飙升时触发）
* 自动调整止损（移动止损）
* 更多触发类型（例如，卖新闻策略的新闻触发）


---

# 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:

```
GET https://minara.ai/docs/minara-handbook/zh/gong-zuo-liu/how-to-set-up-automated-trade-execution.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.
