> For the complete documentation index, see [llms.txt](https://docs.velio.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.velio.xyz/documentation/zh-cn/trading/order-types-and-tp-sl.md).

# 订单类型与止盈止损

市价、限价、条件单；止盈止损；Post Only、Reduce Only

### 订单类型

| 订单类型 | 运作方式                            | 手续费                         |
| ---- | ------------------------------- | --------------------------- |
| 市价单  | 以当下最佳价格立即成交                     | Taker                       |
| 限价单  | 以你设置的价格或更好的价格成交；若无法立即成交，会挂在订单簿上 | 挂在订单簿上成交为 Maker；立即成交为 Taker |
| 条件单  | 市场触及你设置的触发价时，提交市价或限价单           | 取决于提交的订单                    |

### 订单选项

* **Post Only**：订单只会增加流动性。若会立即成交则自动取消，因此一律支付 Maker 手续费。
* **Reduce Only**：订单只能减少或平掉持仓，不会开仓或加仓。

### 条件单

条件单会等待**触发价**，触发依据可选**最新成交价**或**标记价格**，触发后提交市价或限价单。触发价决定的是何时提交订单，而不是成交价格。

**示例**：你持有 1 BTC 多单，开仓价 80,000，希望在 BTC 跌至 78,000 时出场。将触发价设为 78,000，选择 Sell 与 Market，并勾选 Reduce Only。价格触及 78,000 时，持仓会以市价平仓。

### 止盈止损（TP/SL）

* 可在下单时设置，也可为已开立的持仓新增。
* 可依价格或盈亏金额设置。
* 可全部平仓，也可部分平仓。
* 止损价不能超过你的预估强平价。

{% hint style="info" %}
**用最新成交价还是标记价格触发？强平依据的是标记价格，因此以标记价格**触发的止损，较不容易被强平抢先。以**最新成交价**触发的止盈，则更贴近你实际成交的价格。
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.velio.xyz/documentation/zh-cn/trading/order-types-and-tp-sl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
