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

# Auto Buy

If **Auto Buy** is enabled, the bot will instantly purchase a token as soon as its contract address is entered in Telegram — without asking for confirmation or additional input. It will attempt to buy using your preset settings, regardless of your current balance.

**Go to the “Settings”** section in the bot’s main menu, then t**ap “Auto Buy”** to configure it according to your preferences.

<div align="left"><figure><img src="/files/CS32Em5JYGlQJApEzOBO" alt="" width="375"><figcaption></figcaption></figure></div>

**Before using Auto Buy**, you need to set a **purchase amount** — this is the only required setting to activate the mode.

Other settings are optional:\
You can also define **minimum and maximum market cap** and **liquidity limits**. If the token doesn’t meet these conditions when you send its contract address, the purchase will not be executed.

**After setting your values, tap the “Activate” button to enable Auto Buy mode.**

<div align="left"><figure><img src="/files/k9H1dehDWaHwIkovDc1G" alt="" width="375"><figcaption></figcaption></figure></div>

#### Buy Once

This setting controls whether the bot buys the token just once or every time you enter the contract address.

<div align="left"><figure><img src="/files/62uO6KV7atAIHr2ms8HI" alt="" width="375"><figcaption></figcaption></figure></div>

* 🟢 **Enabled** – The bot will buy the token only once. If you sell it, you’ll need to set the amount manually before buying it again.
* 🔴 **Disabled** – Every time you enter the contract address, the bot will automatically buy using your preset amount.

<div align="left"><figure><img src="/files/oeJcCLOTOwElRJrNb3vK" alt="" width="375"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.swoop.fun/swoop-solana-bot/settings/auto-buy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
