# Auto Buy

{% hint style="warning" %}
Enabling `Auto Buy` will automatically initiate a buy transaction when you send a token address or pump.fun link to Nova.
{% endhint %}

## Video Tutorial 👇 <a href="#video-tutorial" id="video-tutorial"></a>

{% embed url="<https://youtu.be/cdEWe7NIwaoyoutu.be>" %}

***

* To enable Auto Buy head over to the settings tab on the main menu & select `Auto Buy.`
* You will then see a menu like this:

  <figure><img src="https://docs.tradeonnova.io/~gitbook/image?url=https%3A%2F%2F4236464353-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl8u9aRxJqF2OG1CZlufP%252Fuploads%252FY50wY9KQ6ovd0Dabsog5%252Fimage.png%3Falt%3Dmedia%26token%3Dc6125e5d-e556-4712-8053-47e386e084ed&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=93577d4d&#x26;sv=2" alt=""><figcaption></figcaption></figure>
* Click `Add Rule`

  <figure><img src="https://docs.tradeonnova.io/~gitbook/image?url=https%3A%2F%2F4236464353-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl8u9aRxJqF2OG1CZlufP%252Fuploads%252FlHj0Nk47sLTifoGG1OiA%252Fimage.png%3Falt%3Dmedia%26token%3Db3620d74-8f9d-49b4-acc5-6273d081ca9b&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=53d6fbe4&#x26;sv=2" alt=""><figcaption></figcaption></figure>
* You will then be asked to enter the minimum market cap value. Be sure to enter the market cap in the correct format. E.g. 5k = 5000 Market Cap
* You will then be asked to enter the Maximum market cap value. Be sure to enter the market cap in the correct format. E.g. 5k = 5000 Market Cap
* Set your preset buy amount, which will be used for each transaction when Auto Buy is enabled.
* Optional: Set a TP & SL. See [TP & SL](https://docs.tradeonnova.io/configuration/tp-and-sl) for more information.

***

## More Information 🟩- <a href="#more-information" id="more-information"></a>

| Button          | What does it do?                                                                                          | Response from Bot                                                                                                                                                                                                                                                             |
| --------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 🔴🟢 Active     | <p>🔴: Disabled</p><p>🟢: Enabled</p>                                                                     | 🟢 / 🔴                                                                                                                                                                                                                                                                       |
| 🆕 Add Rule     | Set up rules for Auto Buy to ensure transactions are only executed when the specified conditions are met. | `Please enter the minimum market cap value. You can enter values like 5k, 100k, 1m etc. - Example: 5k.` `Please enter the maximum market cap value. You can enter values like 5k, 100k, 1m etc. - Example: 5k.` `Please enter the buy amount value. (in SOL) - Example: 0.01` |
| 💸 TP & SL      | [TP & SL](https://docs.tradeonnova.io/configuration/tp-and-sl)                                            | [TP & SL](https://docs.tradeonnova.io/configuration/tp-and-sl)                                                                                                                                                                                                                |
| 🗑️ Delete Rule | This will delete one of the rules you have entered into the bot.                                          |                                                                                                                                                                                                                                                                               |

***

<details>

<summary>What does Minimum Market Cap Value mean?</summary>

* When configured, Nova will ensure that the token's Minimum Market Cap meets or exceeds the set amount before initiating a buy.
* If the Market Cap is below the set parameter, the standard buy screen will be displayed.
* A buy will be initiated if the Market Cap exceeds the set parameter.

</details>

<details>

<summary>What does Maximum Market Cap Value mean?</summary>

* When configured, Nova will ensure that the token's Maximum Market Cap meets or below the set amount before initiating a buy.
* If the Market Cap is above the set parameter, the standard buy screen will be displayed.
* A buy will be initiated if the Market Cap is below the set parameter.

</details>


---

# 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://docs.tradeonnova.net/modules/buy/auto-buy.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.
