> For the complete documentation index, see [llms.txt](https://afk-fun.gitbook.io/afkdotfun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://afk-fun.gitbook.io/afkdotfun/get-started/auto-trading.md).

# Auto Trading

{% hint style="success" %}
Step 1: Create a Strategy
{% endhint %}

<figure><img src="/files/s86rgaocBYFs7xPMYLiT" alt=""><figcaption></figcaption></figure>

**Input Auto-Buy Settings:**

* Launch Time: Set min/max token age
* Market Cap: Set min/max market cap
* Liquidity: Set min/max liquidity
* Buy Count: Set min/max # of buys
* Buy Volume: Set min/max vol. of buys
* Sell Count: Set min/max # of sells
* Sell Volume: Set min/max vol. of sells
* Select Bots: Set min. # of buys from specific trading platforms/bots
* Smart Wallets: Add custom smart wallet addresses that you want to copy trade. You can add multiple and set a minimum requirement. For example, if you upload 5 smart wallets, you can set a minimum of 3/5 wallets must buy the same token to trigger your buy tx for that token.
* Scam Wallets: Add custom scam wallet addresses that you want to avoid. You can add multiple and set a minimum requirement. For example, if you upload 5 scam wallets, you can set a minimum of 3/5 scam wallet that must buy the same token before your strategy ignores/avoids that token.

{% hint style="success" %}
Step 2: Select Launch Mode
{% endhint %}

<figure><img src="/files/gFovH2UPpjKIAqhUYu1g" alt=""><figcaption></figcaption></figure>

**Auto-Trading**

* This will skip backtesting and go straight to setting up live trading. (Add your sell settings in the next step before your strategy goes Active.)

{% hint style="success" %}
Step 3: Input  Auto-Sell Settings
{% endhint %}

<figure><img src="/files/cBmCrYqP3fkqxBiKgmrm" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Step 4: Launch Strategy
{% endhint %}

This will set your strategy to ACTIVE, meaning you will start buying every token that matches your parameters. Sell orders will trigger according to your auto-sell settings.

{% hint style="info" %}
When you're done with these steps, auto-trading will be live! If you need help please join our [Support Chat.](/afkdotfun/support/support-chat.md)
{% endhint %}
