# How to create trading bots

There are two ways to create trading robots. Whalinvest offers to automatically create them for you, but you can also create robots manually.

## **Automatically**

**We’ll pick the most lucrative pairs** according to the performances calculated by our **simulator**.

1️⃣ On the Whalinvest home page, click on the *+ Add a bag* button.

![](/files/-MStPha-dWejkAB0IdJV)

The following configuration window will appear.

![](/files/-MStPsFPPoQvhxgwHixK)

2️⃣ In the **Auto tab**

3️⃣ Select the cryptocurrency you wish to invest (here **USDT**). Please note that if you opt for automatic generation, you can only select **USDT, BTC, ETH** and **BNB**.

4️⃣ Enter the **amount**.

5️⃣ Select a level of risk : **medium** or **low**.

🆗 Generate the robots !

👍 A new bag containing the robots will be created !

## **Manually**

❕ Manual mode is intended for advanced users.

To create a robot manually, go to the **page detailing a bag** of robots. It is accessible by clicking on *See more* on the Whalinvest home page.\
To create a new robot click on the *+* button.

![](/files/-MSlrT5KyGknEC6v4Ma6)

The robot configuration window will appear.

![](/files/-MSlwsvo3seY05YDVBma)

1️⃣ Select a **pair**. You can check out the Ranking page which lists the best **performing** settings according to our **simulator**. You can also head over to the [Whalinvest Discord](https://discord.com/invite/Exm77EV) to discuss with the community !

2️⃣ Select an **amount** you want to allocate to this robot. **Only the allocated amount will be invested**.

3️⃣ Select a **sampling interval**. This corresponds to the **regularity** at which your robot will **analyze the exchange price**. A shorter interval will make your robot more sensitive to market fluctuations and take more risks.

4️⃣ Select a **profit management method**. Ex : with a robot working on the **EGLD / USDT** pair: Accumulate **USDT** : Trade **profits are kept as USDT**. Some of it can be reinvested.\
Accumulate **EGLD** : Trade **profits are kept as EGLD**. None of which will be reinvested.

5️⃣ (Optionnal) Different stop loss options are available :\
**Standard** : This option is **risky** and intended **for people who are familiar with stop losses**. It is triggered when a specified loss percentage is reached.\
**Initial trade amount protection** : a *stop limit* order is placed to protect your initial investment when your position exceeds a specified profit percentage.<br>

6️⃣ Select a **Whalinvest trading strategy**. Click the button on the right to view the **estimated performance** of each strategy using your configuration.

![](/files/-MSluoEF-fRI5VbHuc0c)

![](/files/-MSlwfbnUb3Ztylx2HqS)

🆗 Generate the robot !

👍 A new robot will be created in the bag currently open !


---

# 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.whalinvest.com/english/how-to-create-trading-bots.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.
