# DCA Orders

LFJ lets you execute **Dollar Cost Averaging (DCA)** orders directly onchain — a strategy also known as **TWAP (Time-Weighted Average Price)**. Instead of making one big trade, DCA lets you spread out your order into smaller, evenly timed buys or sells. This helps reduce the impact of price volatility and slippage.

DCA Orders are available directly from the **terminal page** for every supported token. You can use **native assets or stablecoins** (like $ETH, $AVAX, or $USDC) to buy or sell *any* token, over time, onchain.

{% hint style="success" %}
Access the terminal page for a token by searching it in the search bar, clicking on a token from the homepage screener, or clicking on a token in your watchlist.\
\
From here, you will then be able to create your DCA orders.
{% endhint %}

***

## How DCA Orders Work

With a DCA order, you’ll set:

* **Total Amount** – The total value (in tokens) you want to use for the entire trade
* **Running Time** – How long to spread all trades over (e.g. 30 minutes, 4 hours, 1 day, 1 week, etc.)
* **Number of Orders** – How many individual trades to execute
* **Max Price (Optional)** – If the token price exceeds this value, the order will pause until the market price drops back below your max

LFJ's Aggregator will execute your trades automatically, pulling from onchain liquidity sources at each scheduled interval.  Before confirming your trade, you’ll be able to view a summary of:

* How much is being traded per order
* The interval time between each execution
* The estimated completion date for your full order

Orders will continue until all scheduled trades have been completed, or until you cancel the order manually.

{% hint style="info" %}
**Note:** DCA orders must be at least **$100 USD** in total value.
{% endhint %}

***

## Fees on DCA Orders

LFJ charges a **1% platform fee**, applied on each individual trade execution. The fee is deducted from the output amount you receive every time a scheduled order is executed.

***

## Example Scenario

A user sets up a DCA order to **buy $500 of JOE using USDC**, spread across **5 trades** every **12 hours**, with a **maximum price of $0.25 per JOE**.

* The order will buy **$100 of JOE every 12 hours**
* If JOE’s price exceeds $0.25, that interval’s order is skipped and retried at the next interval
* Once each order executes, the user receives the corresponding amount of JOE minus the 1% platform fee
* After 5 intervals (2.5 days), the full $500 will be deployed, unless any interval paused orders due to price conditions.

***

## Key Benefits

* 🕒 **Time-based execution** – Avoid poor entry points by spreading your trades
* 📉 **Price protection** – Optional max price helps avoid chasing pumps
* 📊 **Execution summary** – See interval breakdowns, estimated end date, and per-order size
* 🔗 **Onchain + decentralized** – No need to rely on offchain bots or CEXs
* 🛑 **Cancel anytime** – Cancel remaining trades at any point


---

# 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.lfj.gg/trading-platform/advanced-orders/dca-orders.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.
