# Buy/Sell

To start **buying** tokens, there are a few options available. Let's walk through all of them:

1. You can simply buy by typing to the bot: **`/buy token_address sol_amount`**&#x20;

For example: **`/buy EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm 0.5`** — this will buy tokens worth 0.5 SOL.

<figure><img src="/files/nSAqmDzkP9GJZ9Kxikli" alt=""><figcaption></figcaption></figure>

2. You can buy simply by pasting the token address into the bot, and a purchase window will pop up where you can select the desired amount.

<figure><img src="/files/XXQHkpc8hhGZEfjhu183" alt=""><figcaption></figcaption></figure>

Keep in mind that you can preset the SOL values of 5 buttons in the settings to whatever amounts suit you.

3. You can enable **AUTO BUY**  option from settings with preset SOL amount:

<figure><img src="/files/nUsl6TGzUg9J8FxMrrdE" alt=""><figcaption></figcaption></figure>

After enabled, every time you paste token address it will auto buy your presel SOL amount, there will be no double confirmations.

To start **selling** tokens, there are a few options available. Let's walk through all of them:

1. After you buy token your token position manager will be opened, and will look like this:

<figure><img src="/files/uWcmiNtRyFhFybKoTuWZ" alt=""><figcaption></figcaption></figure>

Here you have 3 buttons. Two of them can be set in the settings to whatever percentage suits you, and the 'Sell X%' button will ask you how much of your position you want to sell.

2. If you want to closely monitor live price changes and sell quickly, you can open the Live PnL, track your profit, and be ready to sell any percentage you want by sliding the cursor and pushing SELL.

<figure><img src="/files/nt4yRykPUSyU4EWFyzAs" alt=""><figcaption></figcaption></figure>

3. If you want **quick sel**l you can also sell by typing to the bot: **`/sell token_address percent_amount`**

   For example: **`/sell EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm 100`** — this will sell 100 of your holding tokens.

4. If you want the bot to automatically sell at your desired Take Profit targets, use a Trailing Stop, or secure your profit with a Stop Loss, you can go to your position, then head to the TP/SL/TS section and set your desired amounts:

<figure><img src="/files/apBlZJrv1Kb6q0pC39K6" alt=""><figcaption></figcaption></figure>

If you need more information about these functions, please refer to the corresponding guide below.


---

# 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://rektbot.gitbook.io/solana/quick-bot-guide/buy-sell.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.
