> For the complete documentation index, see [llms.txt](https://docs.alphador.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphador.ai/free-features/dex-trading-bot/buy-and-sell.md).

# Buy and Sell

### How to buy token

In order to buy token you can open [Trade](https://alphador.ai/trade) page and enter the token address you would like to buy. Then you can enter the amount of ETH / BNB you would like to spend for this token. Once you hit "Buy" button - the transaction will be either simulated first before sending to the blockchain (if Fail Guard is enabled) or sent directly to the blockchain. You will see in the logs whether your transaction was successful or not. If your transaction was successful - you will see a new opened position.&#x20;

<figure><img src="https://lh4.googleusercontent.com/XiaSO8VmLHrLunKhT7FcdgfS3nirDENKe4CYAbHMPirsF8i5owMNXTeBKRUvuloemxLn2oHchnMnnvyc7qJOyH-QJp42Scs2rDVR0W65wRUjyz2GO9NMyjCGO-FHKlIFsi9Cjj0m41j_htPJxyk4fkM" alt=""><figcaption></figcaption></figure>

### How to sell token

In order to sell the token you can either do this from [Trade](https://alphador.ai/trade) page or from your [Positions](https://alphador.ai/trade/positions) page

<figure><img src="/files/AruRPY2w1vmDf33OXwzG" alt=""><figcaption><p>Sell from Trade Page</p></figcaption></figure>

<figure><img src="/files/Z7lL2wsLIagiV7N16XAP" alt=""><figcaption><p>Sell From Positions Page</p></figcaption></figure>

### Buy or sell transaction fail reasons

Some of the most popular reason of failed buy tx:

* Low slippage. If price of the token goes much higher than your % slippage before your buy transaction is confirmed - then transaction will be failed. You can increase your slippage to avoid such situations, but we recommend to use it with MEV guard then, because transactions with high slippage are usually sandwiched.
* Low gas delta. When the market is very active we recommend to use gas delta at least at 5 to avoid situations when your transaction is stalled because of low gas fee.
* Token buy tax is higher than your slippage
* Issues with token

Some of the most popular reason of failed sell tx:

* Low slippage
* Low gas delta
* Token sell tax is higher than your slippage
* Token has a delay before you can sell it
* Issues with token or it is a honeypot


---

# 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.alphador.ai/free-features/dex-trading-bot/buy-and-sell.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.
