---
id: document_item.connecting-to-the-gate-exchange
page_type: documentation_article
title: "Connecting to the Gate exchange"
description: "How to connect the Gate exchange to Moonbot: create API keys, activate the spot and futures accounts, configure the terminal settings."
section: documentation
category: "Settings Button / “Settings → Login” Tab"
url: https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-gate-exchange?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/documentation/settings-login-tab/connecting-to-the-gate-exchange?format=md
parent: https://moonbot.pro/documentation/settings-login-tab?format=md
previous: https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bybit-exchange?format=md
next: https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bitget-exchange?format=md
status: published
updated_at: 2026-10-29T16:13:06+03:00
---

# Connecting to the Gate exchange

Before using Moonbot as a terminal for Gate, we recommend that you register an account on the Gate exchange via our referral link: \
🔗 [https://www.gate.io/signup/MOONLOVE?ref_type=103](https://www.gate.io/signup/MOONLOVE?ref_type=103)

For all accounts registered through this link, an automatic cashback of 20% on spot and futures trading applies.

After activating the PRO version using the Moonbot referral link, the following bonuses will be available to you:

- **GT auto-buy** option;
- **MoonHook** strategy;
- Price simulation on the chart using the **Pencil** tool;
- **Chart monitoring module in separate windows**;
- **Moon Kernel** module — client-kernel mode for faster manual trading.

Moonbot, as a trading terminal for Gate, supports trading on both the spot and futures markets.

When using the Moonbot trading terminal for Gate on a dedicated server, it is best to select the "Japan" (Tokyo) location for the best ping.

The terminal is activated for Gate via the Moon Credits window (instructions are provided below), and this requires 500 Moon Credits - both for activating the main account and for activating each subsequent subaccount. Moon Credits are available only to users of the PRO version of Moonbot. Before activating Gate, you must have the PRO version of the Moonbot trading terminal activated for trading cryptocurrencies on any other exchange.

### Enabling Fee Payment in GT

To receive a discount on trading fees, you need to:

1. Purchase several GT tokens;
2. Go to the **My Fees** section in your exchange account;
3. In the "**Fee Rate**" section, click on "**More**";
4. Select "**GT Fee Rate**";
5. Click "**Confirm Use**".

![](https://moonbot.pro/storage/editor-images/01%20GT%20Fee%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/01%20GT%20Fee%20eng.jpg)

![](https://moonbot.pro/storage/editor-images/02%20GT%20Fee%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/02%20GT%20Fee%20eng.jpg)

### Instructions on how to create an API key on Gate for Moonbot

#### Activation of the futures account on the Gate exchange

A futures account on the Gate exchange is created automatically only after transferring a certain amount of funds to it.

If, when entering the API key, the following error appears in the Moonbot log:\
**"label":"USER_NOT_FOUND", "message":"please transfer funds first to create futures account"**, then perform the following steps:

1. Log in to your Gate exchange account;
2. Go to the futures trading section;
3. Transfer any amount of USDT to the futures account.
4. Then go to **Account → API Key Management** and click the **Create API Key** button
5. In the **Account Type** window, click **Trading Account**.

![](https://moonbot.pro/storage/editor-images/01%20Create%20API%20Key%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/01%20Create%20API%20Key%20eng.jpg)

In the **Account Type** window, click on the **Trading Account**:

![](https://moonbot.pro/storage/editor-images/02%20Create%20API%20Key%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/02%20Create%20API%20Key%20eng.jpg)

**💡 Please note!**

Each user can create up to 20 sets of API v4 keys on a classic account.

The required permissions for the API key must be set when it is created. If not all permissions were selected, errors may occur after registering the key in the Moonbot terminal when attempting to use it, and you will need to create a new API key, since editing an already created API key is not recommended.

In the API Key **Note** field, enter its name, for example MOONBOT.

In the **IP Permissions** options you can choose:

- **Bind to IP**\
  For security reasons it is recommended to bind the API key to an IP address. Each API key can be bound to a maximum of 40 IP addresses or IP segments. After selecting this option, an additional field will appear where you can enter a single IP address or an IP segment directly, and multiple IP addresses or IP segments must be separated by commas. \
  Example: 192.168.1.1, 192.168.1.2, 192.168.0.1/24;
- **Later** \
  Without binding to IP. An API key that is not bound to an IP address will be automatically disabled after 90 days; an API key that has been inactive for more than 90 days (regardless of whether it is bound to an IP address) will be automatically deleted after 90 days.

In the **API Key Type options** you can choose:

- **API v4 Key** (this option should be selected by default);
- **API v2 Key.**

In the **Account Type** option select:

- **Trading Account**.

In the **Permissions** options select the permissions according to the screenshot.

![](https://moonbot.pro/storage/editor-images/03%20Create%20API%20Key%20eng-1783503367.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/03%20Create%20API%20Key%20eng-1783503367.jpg)

Then click the **Submit** button.

In the **Risk Reminder** window, select all three checkboxes and click **I Accept.**

![](https://moonbot.pro/storage/editor-images/04%20Create%20API%20Key%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/04%20Create%20API%20Key%20eng.jpg)

In the **Security Verification** window, enter the **Fund password**, enter the Google Authenticator Code, and click **Confirm**.

![](https://moonbot.pro/storage/editor-images/05%20Create%20API%20Key%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/05%20Create%20API%20Key%20eng.jpg)

After completing these steps, the API keys will be successfully created.

![](https://moonbot.pro/storage/editor-images/06%20Create%20API%20Key%20eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/06%20Create%20API%20Key%20eng.jpg)

**⚠️ Important!**

Save the **Key** (API Key) and **Secret** (Secret Key) in a text file on a USB drive or write them down on paper — these keys will be required to register them in the Moonbot terminal (on the **Settings → Login** tab).

### Instructions on how to connect Gate to the Moonbot terminal

1. Create API keys on the Gate exchange website for the main account or a subaccount;
2. Copy the folder containing your main PRO terminal for another exchange into a new folder and run the copy of the terminal in administrator mode so that you can then configure it as the terminal for Gate;
3. Go to **Settings → Login**, in the **Exchange** field select **Gate** **Spot** (for spot) or **Gate Futures** (for futures) and click **Apply**;
4. In **Settings → Login,** register the Gate API keys from your main account or subaccount;
5. In the lower-right corner of the main window of the Moonbot terminal, click the PRO version label to open the **Moon Credits** window with activation of paid modules (see the figure below);
6. In the Moon Credits window, the lower section displays the balance of your Moon Credits; activating the main account or one subaccount requires 500 Moon Credits; if the balance is sufficient, in the **Activate API Key** block click the **Activate for 500 Credits** button - the API keys will then be activated on this terminal for trading cryptocurrencies on the Gate exchange;
7. If the message **Wrong account** is displayed, this means that the account was not registered via the referral link specified above;
8. If you need to activate additional subaccounts of the same exchange, repeat the procedure the required number of times.

![](https://moonbot.pro/storage/editor-images/MoonCredits_W-eng.jpg)

![(dark)](https://moonbot.pro/storage/editor-images/MoonCredits_B-eng.jpg)

### Specific Features When Working with Gate (Including Current Limitations)

- Switching to a unified account (UTA, as on Bybit) is not required; moreover, without VIP2 status this is not possible;
- The Gate exchange offers a large number of trading pairs; because of this, Moonbot may use a significant amount of RAM; this is normal, however it is recommended to follow the rule “**1 Moonbot per 1 VPS**”;
- On the futures market, the available balance is updated with a delay;
- On the Gate website, futures trading is conducted in contracts; each coin has a fixed contract size (for example, for ETH the contract size is 0.01 ETH); in Moonbot this logic is hidden, and the volume is displayed in currency units; for example, a position of 0.01 ETH in the terminal corresponds to 1 ETH contract on the exchange website;
- On the spot market, loading the order book with a depth of 1000 levels may take up to 1 minute; during this period, an order book with a limited number of levels is available;
- After the first launch of Moonbot on futures, position initialization is performed within 2–3 minutes; during this period it is not possible to change leverage and maximum orders, and automatic leverage management does not work;
- After restarting, automatic leverage management also does not work during the first minutes; however, manual leverage adjustment is available;
- **Public liquidations are likely not available in the API**; for this reason, the liquidation strategy is not supported;
- **Iceberg orders are supported** both on futures and on the spot market; the visible part of the order is set to the minimum lot size;
- The “**Hedge mode**” in the terminal is not supported;
- Due to a low API limit for market requests, the initial loading of market data may take a considerable amount of time; for manual trading it is recommended to disable the **Settings → Main → Analyze coins** **on startup** option;
- For automated trading, strictly follow the rule “**1 Moonbot per 1 VPS**”; the recommended **VPS hosting region is Tokyo (Japan)**;
- On the futures market, the API does not transmit commission values; discrepancies may appear in the report compared to the actual profit by the amount of the maker fee.

Once you have obtained the API keys for Gate and registered them in the Moonbot terminal, you can either continue with the configuration or proceed to create strategies for detecting volatile price movements and automated cryptocurrency trading on the Gate exchange (see the [What Is Autotrading in Moonbot >>](https://moonbot.pro/en/begin/simple-auto-trading/what-is-autotrading-in-moonbot?format=md)).

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [Documentation](https://moonbot.pro/documentation?format=md) / [Settings Button](https://moonbot.pro/documentation/settings-button?format=md) / [“Settings → Login” Tab](https://moonbot.pro/documentation/settings-login-tab?format=md) / Connecting to the Gate exchange

Parent section: [“Settings → Login” Tab](https://moonbot.pro/documentation/settings-login-tab?format=md)

Previous: [Connecting to the Bybit exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bybit-exchange?format=md)

Next: [Connecting to the Bitget exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bitget-exchange?format=md)

## Related

- [Connecting to the Bitget exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bitget-exchange?format=md)
- [Connecting to the Hyperliquid exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-hyperliquid-exchange?format=md)
- [Connecting to the OKX exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-okx-exchange?format=md)
