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

# Auto Buy

Auto Buy, when enabled, will immediately initiate a buy when sending a CA or link to the bot.

&#x20;<img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FVOFcbkthlZ9GcRwTG85G%2Fsettings%20button.png?alt=media&amp;token=2dce5eaa-22d5-4065-8ed4-cb7ac9fc18b8" alt="" data-size="line"> -> <img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FWHOvQCwPIoXLEo03C93Y%2FAuto%20Buy%20button.png?alt=media&amp;token=21d8a7ff-fb61-41f6-86e8-1760c010e1af" alt="" data-size="line">

{% columns %}
{% column %}

* **Select a Wallet** or Bundle. \
  Use <img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FYvg28S67T8OnV4E7JM7E%2Fconfigure%20bundle.png?alt=media&amp;token=a1df49ea-67c9-48b2-8f5a-19a65276ae13" alt="" data-size="line"> to configure.
* **Input your pre-set buy amount** that will be attempted each time you run Auto Buy.
* Optional: Set a **Min Liquidity** amount.
* Optional: Set a **Max Mcap**.
* **Set your preferred slippage.**
* To reset Liquidity or Mcap, enter “none”.
  {% endcolumn %}

{% column %}

<figure><img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FqBEuokQoJwZ6LyX6xIX4%2FAuto%20Buy%202.png?alt=media&amp;token=8c099e04-10bc-4453-9dbf-d9c9606fa148" alt="Auto Buy settings panel"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

<figure><img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2Fsq75PcaV77sg23Lepeju%2FAutoBuy.png?alt=media&amp;token=e1ebf8f0-b29d-4378-b245-5951d4d1990d" alt="Auto Buy Tutorial for Solana Trading Bot"><figcaption></figcaption></figure>

<details>

<summary>What does <strong>Min Liquidity</strong> mean?</summary>

* When set, **Trojan on Solana will ensure Liquidity is not below the threshold** set before initiating a buy.&#x20;
* If the **liquidity amount is below the parameter, the standard buy screen will be presented.**&#x20;
* If the **liquidity is higher than the parameter set, a buy will be initiated.**&#x20;

</details>

<details>

<summary>What does <strong>Max Mcap</strong> mean?</summary>

* When set, **Trojan on Solana will ensure the token's Market Cap is not above the threshold set** before initiating a buy.&#x20;
* If the **Market Cap is higher than the parameter, the standard buy screen will be presented.**&#x20;
* If the **Market Cap is lower than the parameter set, a buy will be initiated.**&#x20;

</details>
