> For the complete documentation index, see [llms.txt](https://banana-gun.gitbook.io/banana-gun-solana/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://banana-gun.gitbook.io/banana-gun-solana/advanced-features/buy-limit-order.md).

# Buy Limit Order

Buy limit orders are purchases of a token at or below a set price, executing only if the market price drops to that level.

<table data-header-hidden data-full-width="false"><thead><tr><th valign="top"></th><th align="center"></th></tr></thead><tbody><tr><td valign="top"><h3>How to Set a Buy Limit Order</h3><ol><li>Paste the token's contract address (CA) or URL (e.g., Dexscreener) to open the buy menu.</li><li>Click "Setup Buy Limit Order"</li><li>Click "SOL Spend" and enter the amount you want to buy for your order.</li><li>Click "Active" and set the duration that the order will be active. </li><li>Click the buy button with the percentage change in market cap or token price that will trigger your order (e.g., -50%).</li><li>Wait for the "Limit Order Set" message. </li></ol><p></p><p></p><p></p><p></p><p>You can cancel limit orders in the "Limit Order Overview" and "Pending Limit Orders"  menus.</p></td><td align="center"><img src="/files/LnEyDQpHeITVBU4LYBwW" alt="" data-size="original"></td></tr></tbody></table>

### Buy Limit Order Menu

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

<figure><img src="/files/t9z0hDgOgyVSmo5BZQno" alt=""><figcaption><p>Buy Limit Order Settings Menu</p></figcaption></figure>

{% hint style="info" %}
**Important:** Review the buy limit order settings below and adjust for your trade.
{% endhint %}

1. **SOL Spend:** Amount of SOL you want to spend on the order.
2. **Active:** Set the duration of the limit order.
3. **Buy Mev Tip:** Set a tip to prioritize your transaction when Anti-MEV is on.&#x20;
4. **Slippage:** Set the maximum price change (0–99%) you'll accept. 100% means unlimited slippage.
5. **Click to Refresh:** Updates the token information (price, market cap).
6. **Market Cap:** Set stop conditions based on a percentage or dollar change in market cap.
7. **Token Price:** Set stop conditions based on a percentage or dollar change in price.
8. **Anti-MEV + Public:** Protects trades from MEV (sandwich) attacks while keeping them visible on the blockchain. Increases security but may slightly slow transaction speed.
   1. **Anti-Mev:** Turns on or off protection against MEV (sandwich) attacks.&#x20;
9. **Wallets:** Choose wallets to fund your buy limit orders.
10. **Buy Buttons:** Set the percentage decrease required to trigger your limit order.
11. **Limit Order Overview:** Opens the overview page displaying all your buy limit orders. Here you can cancel your active limit orders.&#x20;
    {% endtab %}

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

<figure><img src="/files/FhNG8bQJLU3cFmKfiqPZ" alt="" width="344"><figcaption><p>Changing Buy Limit Order Settings</p></figcaption></figure>

1. Click the "Pending Orders" button in the start menu.&#x20;
2. In the "Pending Limit Orders" menu, select "Buy Limit Orders," then click "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., limit order trigger changed from Token Price to Market Cap).&#x20;
   {% endtab %}
   {% endtabs %}
