# TWAP

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXckHYJQt--_s0T0wtqRjjf933JWCmcpgIrAm_u-olOyJULKw8wwVurGZpxrWwQlqW38943ENO4b7NC-z07SVcGJVTIRnYLhxvhTJU74ZUD2cabh398QyEl1wMsRh-uYv6l47U3nww?key=2WiiUTnIpT80_43pMWB-IUW2" alt=""><figcaption><p>Example of TWAP Trajectory</p></figcaption></figure>

The **TWAP trajectory** executes an order **at a fixed rate** over its duration, following a **linear execution schedule**. Unlike **VWAP**, TWAP does **not adjust based on market volume**, making it a **simple and predictable execution method**.

#### **How It Works**

* The engine **divides the total order into equal parts** and executes them at **regular intervals** over the specified duration.
* Execution proceeds **at a constant rate**, **ignoring market volume and liquidity fluctuations**.

#### **When to Use TWAP**

* For **straightforward execution strategies** that don’t require volume-based adjustments.
* When trading **illiquid pairs** to ensure **balanced execution** and prevent drastic price fluctuations.
* When **consistent and predictable order flow** is required.
* In markets with **stable or low volume**, where volume-based strategies may not be effective.

#### **TWAP Limitations**

* **Does not factor in market conditions**—executing at a constant rate regardless of liquidity, which can lead to **suboptimal fills**.
* **Constant execution rate may miss short-term alpha opportunities** and does not respond to price trends.

This trajectory is ideal for traders looking for **simple, predictable execution**, particularly in **low-volume or stable markets**.


---

# 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/creating-and-submitting-orders/advanced-settings/trajectories/twap.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.
