> For the complete documentation index, see [llms.txt](https://docs.whalinvest.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whalinvest.com/english/how-to-create-trading-bots.md).

# How to create trading bots

Creating trading robots

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.

![](https://4248313589-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQnalW7jKZ8N_4D8bAf%2F-MStO95mSZtbbS1yEDrM%2F-MStPha-dWejkAB0IdJV%2FWhalinvest%20-%20Brave_27.jpg?alt=media\&token=9e7d6e67-5be7-4a71-b139-3b0ebc016bef)

The following configuration window will appear.

![](https://4248313589-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQnalW7jKZ8N_4D8bAf%2F-MStO95mSZtbbS1yEDrM%2F-MStPsFPPoQvhxgwHixK%2FWhalinvest%20-%20Brave_28.jpg?alt=media\&token=6af224a2-6376-4695-8c6f-8dbccfadc3fd)

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.

![](https://4248313589-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQnalW7jKZ8N_4D8bAf%2F-MSlr1ehjTZfo3_wAcXo%2F-MSlrT5KyGknEC6v4Ma6%2FWhalinvest%20-%20Mozilla%20Firefox_5.jpg?alt=media\&token=dcea77bd-f5d6-407d-9542-d3a990349ff7)

The robot configuration window will appear.

![](https://4248313589-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQnalW7jKZ8N_4D8bAf%2F-MSlwXcZPEZfWTMVQwa7%2F-MSlwsvo3seY05YDVBma%2FWhalinvest%20-%20Brave_26.jpg?alt=media\&token=83e3f851-e3a4-4fb8-a0a6-8dfac100d70a)

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.

![](https://4248313589-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQnalW7jKZ8N_4D8bAf%2F-MSlr1ehjTZfo3_wAcXo%2F-MSluoEF-fRI5VbHuc0c%2FWhalinvest%20-%20Brave_24.jpg?alt=media\&token=39736b57-00bb-4375-b33b-7c5f324811e9)

![](https://4248313589-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQnalW7jKZ8N_4D8bAf%2F-MSlwXcZPEZfWTMVQwa7%2F-MSlwfbnUb3Ztylx2HqS%2FWhalinvest%20-%20Brave_25.jpg?alt=media\&token=d657908e-31a9-48da-99e3-35770b10f347)

🆗 Generate the robot !

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