# Auto Buy

<figure><img src="https://1741748461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvGbJwvaxB1v6iE1PlLfg%2Fuploads%2FGXaEGf8REN3I4LPJ0rEB%2Fimage.png?alt=media&#x26;token=2d676b87-54f1-46d5-86d8-df80d5f650d6" alt=""><figcaption></figcaption></figure>

In the BRC20 space, major exchanges like OKX, Unisat, and Binance Ordinals Marketplace typically only offer sell orders at a set price, leaving out the option for buy orders. This limitation prevents general users from buying the dip automatically.

BTCBot introduces an Auto Buy feature that enables both instant market buys and strategic limit buys, broadening your trading toolkit. It also aggregates the liquidity from leading platforms such as OKX, Binance, and UniSat Inscription Marketplaces, ensuring you always get the best deal. Importantly, BTCBot's Auto Buy doesn't lock up your funds; you're only charged when your limit buy price is met. If your wallet doesn't cover the cost at that moment, the buy order is simply canceled, keeping your trading smooth and stress-free.

You can follow these steps to configure your smart buy strategy.&#x20;

* **Input the Token Name**: Enter the name of the BRC20 token you want to buy.
* **Setting the Limit Price**: You can set the price based on a percentage drop from the current floor price (0% means the current floor price), or you can set the price directly based on how many Sats each coin is worth.
* **Setting the Max Slippage**: The transaction fees on the BTC network have a significant impact on the actual cost of purchasing a specific BRC20, with the network fee/order price ratio representing slippage. Users can set a maximum slippage to avoid excessively high actual purchase costs. The default is 10%.
* **Setting the Expiration**: Set the expiration period for limit buy orders. The order will be automatically canceled after the expiration period has elapsed. The default is 7 days.
* **Submit the Order**: Confirm the estimated quantity and price of the tokens you can purchase and submit the limit buy order. Then, you can view the list of active limit buy orders in the interface.

{% hint style="info" %}
You can cancel your Limit Buy orders anytime for free.
{% endhint %}

{% hint style="info" %}
**Example of Max Slippage**

Imagine placing a Limit Buy order for 100 tokens at $1 each, with a current transaction gas fee of $9. BTCBot automatically determines the slippage to be 9%, calculating it as $9 (gas fee) ÷ $100 (100 tokens \* $1 per token). If you've allowed for a slippage of up to 10%, the order will proceed. However, if your tolerance is set at 5%, the order won't execute to prevent exceeding your cost threshold for buying tokens.
{% endhint %}
