# DCA

DCA automates recurring purchases of a token at regular intervals. Instead of buying all at once, you spread your purchases over time to reduce the impact of volatility on your entry price.

***

## Why Use DCA?

This section details the main benefits of dollar cost averaging and when it makes sense to use.

### Reduce Entry Timing Risk

Crypto is volatile. Buying at a single moment means you're exposed to that moment's price. DCA spreads your buys across multiple moments, so you get an average entry price over time — reducing the risk of buying at a peak.

### Example

You want to invest 1 SOL into a token currently at $100.

**Without DCA:** You buy 1 SOL at $100. The next day, the price drops to $80. You're down 20% immediately.

**With DCA:** You buy 0.25 SOL per day for 4 days at $100, $90, $80, $100. Your average price is $92.50 instead of $100. You've bought the dip automatically.

### Automate Discipline

Once configured, DCA runs automatically. You don't have to think about timing. Set it and forget it — the strategy executes on schedule regardless of what you're doing.

***

## Setting Up DCA

### Step-by-Step

1. **Send `/dca`** — Opens the DCA management panel.
2. **Select "Create DCA"** — Starts the configuration flow.
3. **Enter the token address** — Paste the token's mint address. You can use a DexScreener or pump.fun link — ARCHONE extracts the address automatically.
4. **Set total amount** — How much SOL to deploy across the entire strategy. For example: 1 SOL.
5. **Set number of intervals** — How many buys to split it into. For example: 10 intervals.
6. **Set interval frequency** — How often to buy:
   * Every 1 hour
   * Every 4 hours
   * Every 12 hours
   * Daily
   * Every X hours (custom)
7. **Configure TP/SL (optional)** — Set take profit and stop loss for each buy. These apply to each individual purchase, not the overall strategy.
8. **Confirm** — ARCHONE shows a summary of your DCA strategy and asks for confirmation.

***

## How DCA Executes

### Execution Flow

This section details how DCA orders are processed.

1. **Schedule check** — Every interval, ARCHONE checks if any DCA orders are due.
2. **Balance check** — Verifies you have enough SOL for the interval amount.
3. **Execute buy** — If due and funds available, executes a market buy at the current price via Jupiter.
4. **Record** — Logs the purchase in your trade history and updates positions.
5. **Repeat** — Continues until all intervals complete or you cancel.

### Atomic Execution

Each interval executes as a single atomic trade. Either the full interval amount succeeds, or the trade is rejected. Partial fills don't happen.

### Failure Handling

If an interval fails (insufficient balance, network issue, token inactive):

* The system retries on the next interval cycle
* Failed intervals don't count toward your total — you won't over-deploy
* The DCA continues until all intervals complete or you cancel

***

## Managing DCA

### Viewing Active DCA

Send `/dca` to see all your active DCA strategies. For each strategy, you'll see:

* Token and symbol
* Progress (e.g., "3 of 10 intervals complete")
* SOL deployed so far
* Average entry price
* Next execution time
* TP/SL settings

### Pausing a DCA

Tap **Pause** on any active DCA to temporarily halt it. Paused DCAs don't execute and don't consume intervals.

Use this if:

* You want to stop accumulating during a price spike
* You're away and want to manually control entries
* You need to fund your wallet before continuing

### Resuming a DCA

Tap **Resume** on a paused DCA to continue from where it left off. Intervals already complete stay complete. Paused time doesn't count.

### Deleting a DCA

Tap **Delete** to cancel and remove a DCA strategy. This:

* Immediately halts all future executions
* Does not affect completed intervals (those trades are already done)
* Does not sell any tokens you purchased

Deleting a DCA does not close your position. You still hold the tokens you bought.

***

## DCA and Take Profit / Stop Loss

Each DCA buy is treated as an independent trade. Any TP/SL you configure applies to each buy individually — not to your overall position.

### Example

You set up a DCA for 10 intervals of 0.1 SOL each, with TP at +50%.

For each of the 10 intervals:

* ARCHONE buys 0.1 SOL worth of tokens
* A TP is set for that specific purchase at +50% from that entry

This means different buys within the same DCA can have different TP targets hit at different times.

### Setting TP/SL After Creation

You can add or modify TP/SL on a DCA after creation:

1. Send `/dca`
2. Tap on the active DCA
3. Select **Edit TP/SL**
4. Configure your targets
5. Confirm

The new TP/SL applies to future intervals only — not to intervals already executed.

***

## DCA Settings Reference

| Setting              | Description                   | Example                 |
| -------------------- | ----------------------------- | ----------------------- |
| **Token**            | The token to accumulate       | Any Solana mint address |
| **Total Amount**     | Total SOL to deploy           | 1 SOL                   |
| **Intervals**        | Number of buys                | 10                      |
| **Frequency**        | Time between each buy         | Every 4 hours           |
| **Per-Order Amount** | SOL per buy (auto-calculated) | 0.1 SOL                 |
| **TP/SL**            | Exit strategy for each buy    | TP: +50%, SL: -20%      |

***

## DCA Use Cases

### Building a Position Over Time

You believe in a token long-term but want to dollar-cost average to reduce volatility risk. Set a DCA to accumulate 0.1 SOL daily for a month.

### The "Buy the Dip" Strategy

Set a DCA with frequent intervals (every 1–4 hours) and wait for price pullbacks. Your buys naturally happen more when price is low.

### Passive Accumulation

Set it and forget it. The DCA runs on schedule, accumulating your target token without you having to watch the market.

***

## Limitations

* DCA only buys, never sells (unless TP/SL triggers on a specific buy)
* DCA doesn't adjust based on price — every interval buys the same amount regardless of price
* If a token has very low liquidity, DCA buys may incur higher slippage
* DCA doesn't guarantee profit or protect against losses


---

# 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.archone.trade/core-features/dca.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.
