# Chained Orders (Batch Trading)

<figure><img src="/files/Zek38MpnZdDmRF4NVEUY" alt=""><figcaption><p>Chained Order Interface</p></figcaption></figure>

**Chained Orders** allow traders to **execute multiple trades in a predefined sequence**, ensuring that each order **triggers only after the previous one is completed**. This feature is useful for structuring **complex execution strategies**, such as **staggered entries and exits** or executing trades based on sequential logic rather than simple price triggers.

#### **How It Works**

* Orders are grouped into **batches**:
  * **Orders within the same batch execute simultaneously**.
  * **Subsequent batches begin execution only after the preceding batch is fully completed**.
* The sequence progresses as follows:
  * Once all orders in **Batch n** are **fully filled**, **Batch n+1** begins execution.
* A common use case is **scaling into a position over multiple orders** and then **exiting in structured steps** based on execution logic. Unlike a **Take Profit order**, which triggers an exit solely based on price, **Chained Orders provide execution control**, ensuring each step completes before proceeding to the next.

#### **Configuring Chained Orders**

1. **Add Orders to the Chain** – Use the order entry form to create and structure orders in sequence.
2. **Assign Batches** – Set a **batch number** for each order to define execution priority. Orders within the **same batch execute concurrently**.
3. **Submit the Chain** – Click **"Submit Chained Orders"** to start execution. The engine will process each batch in order.

<figure><img src="/files/ZDqbQISSqCPqX2p9QzRV" alt=""><figcaption><p>Chained Order Execution</p></figcaption></figure>

#### **Key Considerations**

* **Order Completion Requirement** – An order is considered **complete only when fully filled**. If an order is **not fully filled**, the chain **stops**, and an **error is raised**.
* **No Conditional Execution** – Chained orders **do not support conditional triggers** (e.g., price-based activation).
* **Editing Orders** – Once submitted, orders **cannot be edited**. To modify an order, it must be **deleted and re-added**.
* **Monitoring Execution** – Traders can track order progression via the **Chained Orders Monitoring Page**, which provides insights into each step of execution. Clicking on an order opens its **detailed analytics page**.
* **Pausing Orders** – The **chain cannot be paused as a whole**. However, **individual orders** can be paused if needed.


---

# 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.tread.fi/other-trading-modes/chained-orders-batch-trading.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.
