Skip to main content

Running Gunbot in Safe Mode

Gunbot includes a feature for running the bot in safe mode. This mode is particularly useful when you need to modify, edit, or adjust configuration settings without the risk of crashing the application. It's designed to provide a safer environment for these changes across different operating systems.

Running Gunbot in Safe Mode​

Depending on your operating system, the command to launch Gunbot in safe mode differs slightly. Below are the commands for each system:

Windows​

To run Gunbot in safe mode on Windows, follow these steps:

  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 users, follow these steps to enter safe mode:

  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 particularly helpful in several scenarios, such as:

  • 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, giving you peace of mind while making important adjustments.

Conclusion​

Running Gunbot in safe mode is a straightforward but powerful way to manage your trading configurations safely and effectively. By using the appropriate command for your operating system, you can ensure that your edits are made in a controlled and crash-free environment.