# WunderTrading (previously WunderBit)

### Step 1

First, you need to register for [WunderTrading](https://wundertrading.com/en/trader/register?ref=wbt9d3eba9c), you can use the free plan with 2 bots running.

For this tutorial, I created a new account and you will also get a 7-day free trial for the Pro plan.

### Step 2

When you log in for the first time, you should see the following screen and click on the "Connect Exchange" button.

<figure><img src="/files/2FqDMbArPg1XWoLl8xq5" alt=""><figcaption></figcaption></figure>

### Step 3

Open [Binance](https://accounts.binance.com/en/register?ref=CLD2A3JM) on a new page and log in, for this tutorial we are going to use [Binance](https://accounts.binance.com/en/register?ref=CLD2A3JM), but you can check the supported exchanges [here.](https://help.wundertrading.com/en/articles/5521153-supported-exchanges)

### Step 4

Next, click on the profile picture in the top right corner of the page and choose the "API Management" option.

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

### Step 5

Click "Create API" and choose the "System Generated Key Type." Then add a name to the API.

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

### Step 6

Click "Edit Restrictions" in the top right corner.

{% hint style="info" %}
Please be aware that you have to use "Restrict Access to Trusted IPs Only" so that you can enable Spot & Margin Trading. Add the following IP addresses:
{% endhint %}

```
3.122.50.188
18.192.238.182
3.72.69.97
3.73.237.113
```

These are the IP addresses that Wunderbit uses for spot trading. You can check the others [here.](https://help.wundertrading.com/en/articles/6866348-binance-ip-whitelisting)

After that, click the "Save" button.

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

### Step 7

Now you can go back to WunderTrading, choose your exchange API key and API secret, and then click "Add."

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

After that, click on "My Bots" and then "Add New."

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

{% hint style="info" %}
You can copy the settings from below. Please be aware that these are not the recommended settings, as they should be adjusted to your preferred strategy.
{% endhint %}

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

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

### Step 8

Open Tradingview in a new tab, set the trading pair and timeframe, and add one of our PREMIUM scripts to the chart. Open the script settings, then scroll down to the "Automation" part.

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

You can see the values that you have to enter here in the WunderTrading tab.

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

{% hint style="info" %}
If you don't want the script to enter short trades, you can leave that textfield as the default value.
{% endhint %}

Click "OK" to finalize the settings.

### Step 9

Click on the "Alerts" tab in the top right corner.

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

Click on the "Alerts Plus" button.

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

The conditions should be set to your chosen strategy (in this case, it is our Triple EMA strategy).

Set an expiration date for how long you want to use the strategy.

Allow "Show Pop-up".

Allow Webhook URL, to the textbox, insert the following URL:

<https://wundertrading.com/bot/exchange>

{% hint style="info" %}
Note that with Tradingview's free version, you can't allow webhook URLs.
{% endhint %}

For the message part, add the following line:

```
{{strategy.order.comment}}
```

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

Click "Create" button, and after a few seconds, you should see the alert created.

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

### Step 10

The last step is to go back to WunderTrading and click the "Create Bot" button.

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

**Congratulations! You now have a running script.**


---

# 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.tradesmartalgo.com/guides/how-to-connect-3rd-party-tools/wundertrading-previously-wunderbit.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.
