Skip to main content

Running Gunbot in Safe Mode

Use safe mode when you need to edit configuration settings without running trades.

Info

Safe Mode in Gunbot allows the application to start without initiating trading activities or connecting to exchanges. This is crucial for preventing errors or unintended trades while making configuration changes.

Running Gunbot in Safe Mode

Use the command for your operating system:

Windows

To run Gunbot in safe mode on Windows:

  1. Open a Command Prompt window.
  2. Type cd followed by a space, then drag and drop your Gunbot folder into the Command Prompt window to populate the path. Press Enter to navigate to the Gunbot directory.
  3. Type the following command to start Gunbot in safe mode:
gunthy-win -safe

Below is an animated demonstration of the process: Navigating to Gunbot folder and starting in safe mode on Windows

Linux

For Linux:

  1. Open a Terminal window.
  2. Navigate to your Gunbot directory by typing cd /path/to/gunbot.
  3. Execute the following command to start Gunbot in safe mode:
./gunthy-linux -safe

Below is an animated demonstration of the process: Starting Gunbot in safe mode on Linux terminal

macOS

On macOS, start Gunbot in safe mode by typing:

./gunthy-macos -safe

Use Cases for Safe Mode

Safe mode is useful for:

  • Updating trading strategies without disrupting ongoing trades.
  • Modifying API keys or other sensitive information securely.
  • Testing new configurations on a subset of your trading pairs.

These operations can be performed without affecting the bot's stability while you make changes.