Skip to main content

How to Change Your Trading Exchange in Gunbot

Changing your trading exchange in Gunbot, such as switching from Binance to Bybit, is a straightforward process. This guide will walk you through the necessary steps.

Info

Changing an exchange in Gunbot means reallocating one of your licensed API slots. You are essentially de-registering an old exchange API key and registering a new one in its place.

Requirements for Self-Managing API Slots​

Before proceeding, ensure you meet the following requirements:

  • You must have at least one currently working (connected) exchange configured in Gunbot. This is used for authentication.
  • You must be running Gunbot version 28 or higher.

Steps to Change to Another Exchange​

Step 1: Go to Manage API Slots​

Navigate to the Manage API Slots page within your Gunbot interface. This section allows you to view the status of your registered API keys and manage them. Overview of the Gunbot API slots management interface.

Step 2: Remove the Existing Exchange​

To free up an API slot, you first need to remove the exchange you wish to replace. Click the red trash can icon next to the exchange you are removing. Removing an existing API slot in Gunbot to free up space for a new exchange.

Step 3: Click the Add Button​

Once a slot is free, a '+' button will appear. Click this button to begin adding a new exchange. The 'Add new exchange' button, a plus symbol, in an empty API slot in Gunbot.

Step 4: Select the New Exchange to Connect To​

From the list of supported exchanges, choose the new exchange you want to connect Gunbot to. Selecting a new exchange (e.g., Bybit) from the list of available options in Gunbot.

Step 5: Enter Credentials and Save​

Enter the API key and secret for the new exchange in the provided fields. After entering the details, save the changes. Entering API credentials (key and secret) for the newly selected exchange in Gunbot.

Authentication for Changing API Keys​

At the top of the Manage API Slots page, you'll find a selection field. Here, you need to choose one of your currently connected exchanges. Gunbot uses this selected exchange to authenticate your request to change the registered API keys.

  • Important: The specific exchange you choose for this authentication step does not matter, as long as it is successfully connected and operational in Gunbot.

What Happens Behind the Scenes​

  • Before updating the registered API keys with the new exchange details, Gunbot core attempts a connection to the exchange you selected for authentication.
  • The changes to your API slot (removing the old exchange and adding the new one) are only processed if this authentication connection is successful. This security measure ensures that the request is from the rightful user.

Contacting Support​

If you do not meet the requirements for self-managing API slots (for example, if you have no working exchanges left to use for authentication), please get in touch with Gunbot support. They will be able to assist you with making the change.