> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lpmimic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How a copy works

> The copy cycle from the source's open to your close, what LP-Mimic copies and what it does not, and why a delay always exists.

A **copy** is a position in your wallet that follows a position of another wallet. That other wallet is the **source**. LP-Mimic watches the source on chain and does the same in your wallet, at the size your settings give.

To learn how liquidity positions on Meteora DLMM work, read [What is DLMM](https://docs.meteora.ag/core-products/dlmm/what-is-dlmm) on Meteora.

## The copy cycle

```mermaid theme={null}
flowchart TD
    A["Source opens a position"]
    B["LP-Mimic opens a copy<br/>in the same pool and range"]
    C["Source adds, removes<br/>or moves its range"]
    D["LP-Mimic does the same<br/>on your copy"]
    E["Source closes"]
    F["LP-Mimic closes your copy"]
    G["Sell the token for SOL"]
    H["Keep the token<br/>for the hold time"]
    A --> B
    B --> C
    C --> D
    D --> C
    D --> E
    B --> E
    E --> F
    F -->|"Keep tokens after close off"| G
    F -->|"Keep tokens after close on"| H
```

1. The source opens a new position. LP-Mimic checks your settings, your limits and the token. If all checks pass, it opens a copy in the same pool, with the same price range.
2. The source adds liquidity, removes liquidity or moves its range. LP-Mimic changes your copy the same way, at your size.
3. The source closes its position. LP-Mimic closes your copy.
4. After the close, LP-Mimic sells the leftover token for SOL. If you turned on [Keep tokens after close](https://docs.lpmimic.com/copy-trading/copy-settings.md#keep-tokens-after-close), it keeps the token for a short time first.

A copy can also close before its source closes: at your take profit or stop loss, or when you close it yourself. Read [Copy settings](https://docs.lpmimic.com/copy-trading/copy-settings.md) and [Managing copies](https://docs.lpmimic.com/copy-trading/managing-copies.md).

## What gets copied and what does not

| Item | What your copy does |
| - | - |
| Pool | The same pool as the source. |
| Price range | The same range as the source. When the source moves its range, your copy moves to the new range. |
| Shape | The same amount in each price bin, in proportion. Your copy keeps the source's shape. It does not use a shape of its own. |
| Size | Your **Copy percentage** of the source's position, not the source's amount. **Max per copy**, **Max open in total** and your free SOL above the **Wallet reserve** can make it smaller or skip it. |
| Adds and removes | Copied. Your copy grows when the source grows and shrinks when the source shrinks. A very small change is not copied, because it costs more than it changes. |
| Source empties the position but keeps it open | Your copy takes all its liquidity out too and waits. If the source adds again, your copy adds again. |
| Close | Copied. Your copy closes when the source closes. |
| A token the source deposits | Your copy must hold the same token on the same side of the price. So it buys the token with SOL before it deposits. **Meme protection** can skip such a copy. |
| A token only in the current price bin | Not bought. Your copy deposits SOL there instead. |
| A very small token part | Not bought. The deposit goes in without it. |
| Tokens the source takes out and sells | When the source takes liquidity out and then sells the token, your copy sells the same share of the token it took out. |
| A USDC pool | LP-Mimic buys the USDC it needs with SOL. Later, it sells USDC that no copy uses back to SOL. |
| Positions the source already holds when you start | Not copied automatically. LP-Mimic copies a wallet from its next new position. You can copy one open position by hand. See [Copy one position by hand](#copy-one-position-by-hand). |
| A source open that LP-Mimic saw too late | Not copied. A copy opens only while the source position is new. Later, the price has moved away from the source's entry. |
| Tokens that fail a check | Not copied. This includes a token that fails your [Copy filters](https://docs.lpmimic.com/copy-trading/copy-settings.md#copy-filters), a token on your blocked list, a token that LP-Mimic finds unsafe, and a token that no swap route can sell back. |
| A very wide range | Can be refused. The console names the width and the most that LP-Mimic can open. |
| The source's own profit or loss rules | Not copied. Your copy closes early only on your own limits: take profit, stop loss and delayed stop. |
| Fees your copy earns | Your copy earns its own pool fees, on its own liquidity. |

To see why a copy did not open, or why it differs from the source, read [Activity log](https://docs.lpmimic.com/copy-trading/logs.md).

## The delay

LP-Mimic opens and closes fast after the source. But it acts only after it sees the source's transaction on chain. Then it must send its own transaction.

So a delay always exists between the source and your copy. In that time the price can move. Your price can differ from the source's price, and your result can differ from the source's result.

> [!WARNING]
>
> In a pool with little liquidity, the source's own sale at its close can move the price before your copy closes. Read [Risks](https://docs.lpmimic.com/risks.md).

## Copy one position by hand

LP-Mimic copies automatically only from the source's next new position. You can still copy one position that the source holds now:

1. Open the wallet's page. On **Copy LP**, press the wallet's name. On **Discover**, press the wallet's row.
2. The wallet's **Copying** switch on **Copy LP** must be on. A wallet that you only watch cannot be copied by hand. When you turn the switch on, LP-Mimic also starts to copy the wallet's next new positions automatically.
3. In the **Open** tab, find the position and press **Copy**. The **Copy position** dialog opens.
4. Check **Pool fee**, **Range width**, **Price range** and **Now** (in range or out of range).
5. Type a **Copy size, in SOL**, or leave it blank to use your **Copy percentage**. If you leave it blank, the **Copy percentage** must be above 0 %.
6. Press **Copy position**.

Your **Wallet reserve** and your limits still apply to a copy by hand. Meme protection does not check it, and the meme copy size does not apply to it.

The dialog follows the request:

| You see | Meaning |
| - | - |
| Requested. Waiting for LP Mimic. | LP-Mimic has not read the request yet. |
| Requested. LP Mimic has read it and keeps trying. | A check refused it for now. LP-Mimic tries again. |
| Accepted. The position is opening. | The copy is opening. |
| Open. LP Mimic holds a copy of this position. Requesting again adds a second one. | The copy is open. |
| Refused. Nothing was opened. | A check refused the copy. The reason shows under this line. |
| LP Mimic took the request and stopped without opening a position. | The copy started and then stopped. |
| LP Mimic did not pick up the request. It may not be running. | Nothing read the request before it expired. |
| The copy of this position has closed. | The copy closed. |
| Cancelled. LP Mimic will not act on this request. | You pressed **Cancel request**. |

While a request waits, the dialog says how long LP-Mimic keeps trying. Press **Cancel request** to take it back.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.