Skip to main content

How to Run Multiple Gunbot Instances

Running multiple instances of Gunbot is a straightforward process. By duplicating the Gunbot folder for each instance and ensuring distinct settings, you can efficiently operate multiple bots.

Why multiple instances?

In most cases, a single Gunbot instance is enough. A single Gunbot can trade many assets, on many exchanges.

Splitting up to multiple instances can be useful to spread risk, operate nearer to an exchange, optimize processing speed, or similar setup tuning.

Here's a step-by-step guide to get you started:

Step 1: Duplicate the Gunbot Folder

For each instance of Gunbot you want to run, create a copy of the Gunbot folder. This ensures that each instance operates independently without interfering with the others.

Step 2: Unique Configuration for Each Instance

Each Gunbot instance must have unique settings to function correctly. Pay special attention to the following parameters:

  • Port Settings: The port setting, found in both the GUI and ws sections, must be unique for each instance. This allows you to access the GUI of each instance separately on localhost via the specified port.
  • Clientport Setting: In the ws section, ensure that the clientport is distinct for each instance.
  • Telegram Token: The TOKEN in the bot section is crucial for Telegram notifications. Each instance should have its own unique token.

Step 3: Edit the config.js File

To make these changes, use a text editor like Notepad++. Carefully edit the config.js file in each Gunbot folder, ensuring that the above parameters are unique for each instance.


Remember, consistency in configuration is key. Double-check each setting to ensure each instance runs smoothly and independently.

By following these simple steps, you can efficiently manage multiple Gunbot instances, each tailored to your specific trading strategies and goals. Happy trading!