> For the complete documentation index, see [llms.txt](https://docs.maxi.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maxi.fun/maxi-trading-bot/buy-and-sell-tokens.md).

# Buy & Sell Tokens

1. Paste the token's contract address or URL (e.g., Maxi.Fun Coins) to open the buy menu.
2. Click the "Buy" button with the amount you want to purchase (preset or custom SOL amount).
3. Wait for the "Buy Success" message.

## Buy Menu

This menu appears after pasting a contract address or link into the Maxi Trading Bot text box. It shows token information and buy settings.

<br>

{% tabs %}
{% tab title="Token Info" %}

1. Token name + ticker
2. Token Contract address (CA)
3. Token Lp address (LP)
4. Market Cap: Total value of all tokens in circulation.
5. Price: Current token price in USD
6. Dex: Where the LP was created
7. Liquidity: Current value of assets in the token's LP, displayed in USD
8. Reanounced: No one owns the token anymore. Devs gave up the rights (on ✅)
9. Freeze Revoked: Devs can't pause trading or stop the token from moving (on ✅)
10. Links: Quick access to Solscan, Maxi, Dexscreener, Dextools, GMGN, Photon and Dev Address
    {% endtab %}

{% tab title="Buy Menu" %}

1. <sup>**Click to Refresh:**</sup> <sup></sup><sup>Updates the token information (price, market cap).</sup>
2. <sup>**Track**</sup><sup>: Switches to track menu for the selected token.</sup>
3. <sup>**Buy mode:**</sup> <sup></sup><sup>Switches to buy menu for the selected token.</sup>
4. <sup>**Sell mode:**</sup> <sup></sup><sup>Switches to the sell menu for the selected token.</sup>
5. <sup>**Wallet selector:**</sup> <sup></sup><sup>Select your</sup> <sup></sup><sup>**wallet you want to trade**</sup>
6. <sup>**Buy Buttons:**</sup> <sup></sup><sup>Shows preset buy SOL amounts. Click "Buy X SOL" to enter a custom buy amount. Default button SOL amounts can be adjusted in the /settings menu.</sup>
7. <sup>**Anti-MEV:**</sup> <sup></sup><sup>Turns on or off protection against MEV (sandwich) attacks. Turning it on (green) prevents these attacks but might make transactions slower.</sup>
8. <sup>**Slippage:**</sup> <sup></sup><sup>Set the maximum price change (0–99%) you'll accept. 100% means unlimited slippage.</sup>
9. <sup>**Tips:**</sup> <sup></sup><sup>Set a tip to prioritize your transaction when Anti-MEV is on. This tip is added to your Buy Gas. If unchanged, your default tip setting will be used.</sup>
10. <sup>**Settings:**</sup> <sup></sup><sup>Switches settings menu.</sup>
    {% endtab %}

{% tab title="Sell Menu" %}

1. **Click to Refresh:** Updates the token information (price, market cap).
2. **Track**: Switches to track menu for the selected token.
3. **Buy mode:** Switches to buy menu for the selected token.
4. **Sell mode:** Switches to the sell menu for the selected token.
5. **Wallet selector:** Select your wallet you want to trade
6. **Sell Buttons:** Shows preset Sell SOL amounts. Click "Sell X SOL" to enter a custom Sell amount. Default button SOL amounts can be adjusted in the /settings menu.
7. **Anti-MEV:** Turns on or off protection against MEV (sandwich) attacks. Turning it on (green) prevents these attacks but might make transactions slower.
8. **Slippage:** Set the maximum price change (0–99%) you'll accept. 100% means unlimited slippage.
9. **Tips:** Set a tip to prioritize your transaction when Anti-MEV is on. This tip is added to your Buy Gas. If unchanged, your default tip setting will be used.
10. **Settings:** Switches settings menu.
11. Share pnl: **Generates a picture showing your trade performance for the current token.**\
    You can choose between two modes ( you will see this button on [Settings](/maxi-trading-bot/settings.md) page)

    * **Basic Mode:**\
      Token Name, PNL (%)
    * **Share Details Mode:**\
      In addition to the basic info, it will also show:
      * **Token Name**
      * **PNL (%)**
      * **Initial Investment** (how much you first put in)
      * **Worth** (current value of your remaining tokens)
      * **Sold Amount** (how much you've sold so far)

    <br>

{% endtab %}

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

1. Paste a contract address or link to open the buy menu.
2. Select the preset you want to change.
3. Enter a new value in the text box or or toggle a button.
4. Your preset will update, and the new value will appear (e.g., Slippage changed from 5% to 10%, Buy Gas from 0.001 to 0.002).
   {% endtab %}
   {% endtabs %}
