# PumpFun Copytrade

To successfully execute this task, ensure that you have already created [copytrading groups.](https://guide.lunarlabs.gg/getting-started/copytrading-groups)

## 1. Create Task & General Settings

* Go to the 'Defi' tab
* Press Create Tasks
* Choose a task name
* Select Pump Fun Copy Trade
* Select the wallet to use

## 2. General DeFi Settings

* Enter & Select all the general task settings
* A detailed guide can be found [here](/defi/general-defi-settings.md)

## 3. Extended Sell Settings

### Trailing Stop

* A stop loss % that is adjusted according to your take profit positions

### Stop Loss

* The stop loss as a %

### Sell If Dev Sells

* Close position if dev sells X% of their holding

### Sell Bonding Curve Progress

* Sell part of your position when there is X% growth

### Sell Bonding Curve Position

* How much of your position to sell on X% growth

### Inactivity Timeout

* Close position if there are no trades in seconds

### Profit Timeout Position

* How much of the position to sell if the following values are not met

#### A. Profit Timeout %

* How much profit % to be achieved in the timeframe

#### B. Profit Timeout Delay

* The amount of time the profit must be achieved in (in s)

{% hint style="info" %}
For the values 100, 25 & 10\
100% of your position will be sold if 25% profit is not achieved in 10s
{% endhint %}

### Sell On Migration

* How much (%) of your position to sell on migration

<figure><img src="/files/MvfQQZQuganNakdMrGup" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>

## 4. Copytrade Settings

### Traders Groups

* Select the predefined wallets groups you want to copy trade. You can configure these groups in the Copy Trading section.

### Min & Max Trader Buy

* The range of SOL the trader can use to purchase a token

### Min & Max Buy Amount

* The range of your trades when using CT buy %
* You will not enter a trade with values outside of this range

### CT Buy Percentage

* What % of the CT buy to trade at
* e.g. If the trader spends 10 SOL, and you use 20% you will enter with 2 SOL

{% hint style="info" %}
This is overridden by min & max buy settings

\
If the trader spends 10 SOL, and you use 20% you will enter with 2 SOL\
\
However, if your min buy is 3 SOL, you will enter with 3 SOL.\
If your max buy is 1 SOL, you will enter with 1 SOL.
{% endhint %}

### Token Repurchase

* Lunar will repurchase the same token if the trader purchases again

### Trader Unique Purchase

* Purchase a token when a trader buys it for their first time

### Sell With Trader

* Sell the same % of your position as the trader

{% hint style="info" %}
When the trader buys 10 tokens and you buy 2 tokens, if they sell 2 tokens (20%) you will sell 0.4 tokens (20%)
{% endhint %}

<figure><img src="/files/CjwlJJQsSf0rgM6yAXTP" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>


---

# 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://guide.lunar.trade/defi/pumpfun-copytrade.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.
