# Copy Trading

Copy trading lets you copy another trader’s buy and sell orders. Configure your settings carefully, as you’re essentially entrusting your capital to them.

{% hint style="danger" %}
**WARNING:** Some target wallets may become malicious and try to drain your funds by aping into pump and dumps or honeypots. Use a wallet scanner to review recent trades by the target wallet to check if they’re using copy traders as exit liquidity.
{% endhint %}

### How to Set Up a Copy Trade

Find a wallet you want to copy trade, and follow the steps below.

<table data-header-hidden><thead><tr><th valign="top"></th><th align="center" valign="middle"></th></tr></thead><tbody><tr><td valign="top"><ol><li>Select "Copy Trading" from the start menu or type <code>/copytrade</code> in the text box.</li><li>Select "New Copy Trade."</li><li>Enter the target wallet address.</li><li>Enter a description (e.g., "Top Trader")<em>.</em></li><li>Select the wallets you want to use and confirm.</li><li>Select "Inactive" and toggle to "Active" to start copy trading.</li></ol><p></p><p></p><p></p><p><strong>Important:</strong> Review the copy trading settings below (e.g., "Active h," "Max Buy") and adjust them to match your risk appetite.</p></td><td align="center" valign="middle"><img src="https://content.gitbook.com/content/OEDv0i9Axo2k2o5rpfmB/blobs/lBgfIcrzKsC8S8hs0Qam/Copy%20Trade.gif" alt="" data-size="original"></td></tr></tbody></table>

### Copy Trade Menu

This menu appears after you set up your copy trade. It displays basic and advanced copy trade settings.&#x20;

{% hint style="warning" %}
**Don't blow up your account!** Set a "Spending Limit" under "Advanced Settings" to limit how much each of your wallets can spend on copy trading.
{% endhint %}

{% tabs %}
{% tab title="Settings" %}

<figure><img src="https://content.gitbook.com/content/OEDv0i9Axo2k2o5rpfmB/blobs/7eGAH12tBlwowY1bu3TR/image.png" alt=""><figcaption><p>Copy Trade Menu</p></figcaption></figure>

<table data-full-width="false"><thead><tr><th width="199">Button</th><th width="231">Description</th><th valign="middle">Example &#x26; Details</th></tr></thead><tbody><tr><td><ol><li><strong>Active</strong></li></ol><p></p></td><td>Toggle for activating a copy trade.</td><td valign="middle">You set up a copy trade for 1 SOL. You don't enable activate, you won't copy trade.</td></tr><tr><td><ol start="2"><li><strong>Active (Time)</strong></li></ol></td><td>Set the length of the copy trade. </td><td valign="middle">You set the copy trade for 8 hours; it copies trades until the 8-hour period ends.</td></tr><tr><td><ol start="3"><li><strong>Wallet Change</strong></li></ol></td><td>Choose the wallet(s) for copy trading. </td><td valign="middle">Your default wallet will be used if you don't select another.</td></tr><tr><td><ol start="4"><li><strong>Max Buy</strong></li></ol></td><td>The maximum buy amount you will copy trade per trade.</td><td valign="middle">You put Max Buy on 3 SOL. Target wallets buy 5 SOL of a token. You only buy 3 SOL worth.</td></tr><tr><td><ol start="5"><li><strong>Buy Exact</strong></li></ol></td><td>Buy the same amount as target wallet (if under Max Buy).</td><td valign="middle">Target wallet buys 3 SOL. You buy 3 SOL.</td></tr><tr><td><ol start="6"><li><strong>Buy Percent</strong></li></ol></td><td>Buy a percentage of target wallet buy.</td><td valign="middle">You set it to 50%. Target wallet buys 2 SOL. You buy 1 SOL.</td></tr><tr><td><ol start="7"><li><strong>Buy Fixed</strong></li></ol></td><td>Buy a fixed amount.</td><td valign="middle">You set it to 1 SOL. Target wallet buys 0.5 SOL. You buy 1 SOL. Target now buys 2 SOL. You buy 1 SOL.</td></tr><tr><td><ol start="8"><li><strong>Copy Sells</strong></li></ol></td><td>Turns on/off copy sells. </td><td valign="middle">Your trades execute whenever the target wallet sells.</td></tr><tr><td><ol start="9"><li><strong>Setup Limit Order</strong></li></ol></td><td>Place buy/sell limit orders.</td><td valign="middle">These orders execute only when the price reaches your target.</td></tr><tr><td><ol start="10"><li><strong>Sell Exact</strong></li></ol></td><td>Sell same percentage of holdings as target wallet.</td><td valign="middle">Target wallet sells 20% of its tokens. You sell 20% of your tokens (regardless of absolute values).</td></tr><tr><td><ol start="11"><li><strong>Sell Percentage</strong></li></ol><p></p></td><td>Sell a percentage of your tokens based on target wallet’s sell order.</td><td valign="middle">You set it to 50%. Target wallet sells 20% of his tokens. You sell 10% of your tokens.</td></tr><tr><td><ol start="12"><li><strong>Relative Sell</strong></li></ol></td><td>The percentage you will sell when target wallet sells. </td><td valign="middle">Shows the percent. </td></tr><tr><td><ol start="13"><li><strong>Advanced Settings</strong></li></ol></td><td>Opens the "Advanced Settings" menu.</td><td valign="middle">You can further customize your copy trading settings here.</td></tr><tr><td><ol start="14"><li><strong>Remove CopyTrade</strong></li></ol></td><td>Deletes your active copy trade. </td><td valign="middle">You want to quickly cancel your copy trade for a target wallet. </td></tr></tbody></table>
{% endtab %}

{% tab title="Advanced Settings" %}

<figure><img src="https://content.gitbook.com/content/OEDv0i9Axo2k2o5rpfmB/blobs/PVGg1rX2VFJMxny83srZ/image.png" alt=""><figcaption><p>Copy Trade Advanced Settings Menu</p></figcaption></figure>

<table><thead><tr><th width="202">Button</th><th width="237">Description</th><th>Example &#x26; Details</th></tr></thead><tbody><tr><td><ol><li><strong>Buy/Sell Anti-MEV</strong></li></ol></td><td>Use private transactions instead of public mempool.</td><td>Turning it on (green) prevents MEV attacks but might make transactions slower.</td></tr><tr><td><ul><li><strong>Buy/Sell Anti-MEV + Public</strong> </li></ul></td><td>Protects trades from MEV (sandwich) attacks while keeping them visible on the blockchain.</td><td>Increases security but may slightly slow transaction speed.</td></tr><tr><td><ol start="2"><li><strong>Buy/Sell Mev-Tip</strong></li></ol></td><td>Set a tip to prioritize your transactions when Anti-MEV is on. </td><td>This tip is added to your gas. If unchanged, your default tip setting will be used.</td></tr><tr><td><ol start="3"><li><strong>Buy/Sell Gas</strong></li></ol></td><td>Set the gas you're willing to pay for your trades.</td><td>If unchanged, the default gas setting will be used.</td></tr><tr><td><ol start="4"><li><strong>Buy/Sell Slippage</strong></li></ol></td><td>Set the maximum price change (0–99%) you'll accept.</td><td>100% means unlimited slippage. </td></tr><tr><td><ol start="5"><li><strong>Buy/Sell Tax Limit</strong></li></ol></td><td>Prevents buying/selling tokens with taxes above the limit.</td><td>You set to 10%. Target wallet buys/sells a token with 15% taxes. Your copy trade fails. </td></tr><tr><td><ol start="6"><li><strong>Buy Only Once</strong></li></ol></td><td>Target buys a token only once.</td><td>After your first buy, the token is blocked for 7 days.</td></tr><tr><td><ol start="7"><li><strong>Spending Limit</strong></li></ol></td><td>Sets a spending limit for your wallet. Trades exceeding this limit will fail.</td><td>You set Spending Limit to 3 SOL for wallet X. You already copy trade 2.5 SOL worth of tokens. Target wallet buys 1 SOL. Your copy trade will fail as it exceeds limit.</td></tr><tr><td><ol start="8"><li><strong>Min Market Cap</strong></li></ol></td><td>The minimum marketcap the bot can auto-buy.</td><td>You set the limit to $500,000. The target wallet buys a token with a $400,000 market cap. Your copy trade fails.</td></tr><tr><td><ol start="9"><li><strong>Max Market Cap</strong></li></ol></td><td>The maximum marketcap the bot can auto-buy.</td><td>You set the limit to $500,000. The target wallet buys a token with a $600,000 market cap. Your copy trade fails.</td></tr></tbody></table>
{% endtab %}

{% tab title="Blocked Tokens" %}
In the Copy Trade menu, select "Blocked Tokens" to block tokens you don’t want to copy trade.

<figure><img src="https://726592604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEDv0i9Axo2k2o5rpfmB%2Fuploads%2FHlG8F0lcMvyGNqacETKw%2Fimage.png?alt=media&#x26;token=bfea5340-0ed2-4faf-9379-896234866bd8" alt=""><figcaption></figcaption></figure>

1. **Click to Refresh:** Updates the token information (price, market cap).
2. **Remove Token**: Remove a token from the blocked list.
3. **Add Token**: Add a token by pasting its address.
4. **Remove All Tokens**: Remove all tokens from the blocked list.
   {% endtab %}

{% tab title="How to Change Settings" %}

<figure><img src="https://content.gitbook.com/content/OEDv0i9Axo2k2o5rpfmB/blobs/eRM5Gdi9vPbHb9dzE8YF/Copy%20Trader%20Settings.gif" alt="" width="344"><figcaption><p>Changing Trade Length and Max Buy</p></figcaption></figure>

1. Click the "Menu" button and select `/copytrade`.
2. In the "Copy Trade" menu, select "Edit."
3. Choose the setting you want to change.
4. Enter a new value in the text box or toggle a button.
5. Your preset will update, and the new value will appear (e.g., "Max Buy" set to 10 SOL).
   {% endtab %}
   {% endtabs %}


---

# 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://banana-gun.gitbook.io/banana-gun-solana/advanced-features/copy-trading.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.
