Skip to main content

Understanding Your Gunbot Folder Structure

This guide explains the key files and folders in your Gunbot directory and what each is used for.

Overview of Gunbot directory structure and file organization

Key Files and Folders

Here's a breakdown of the essential files and folders in your Gunbot setup:

Configuration and Database Files

  • autoconfig-pairVariables.json: Holds variables set by AutoConfig, if utilized.
  • autoconfig-stats.json: Manages AutoConfig statistics.
  • autoconfig.json: The main AutoConfig file, crucial for your custom or prebuilt configurations.
  • config.js: Your primary configuration file. It includes strategies, pairs, and encrypted API keys. Never share this file! Use the configuration export tool in the interface to get a safe export.
  • gunbotgui.db: Database related to Gunbot's graphical user interface (GUI).
  • new_gui.sqlite: Another GUI-related database file.
  • session.json: This file also relates to the GUI.
  • tgconfig.json: Configuration for the Telegram bot.
Info

The Gunbot directory contains executables, configuration settings, logs, and strategy files. Handle these files carefully to keep your bot running smoothly.

Log and Backup Files

  • backups: Contains backups of your configurations and logs.
  • err.log: Logs any errors encountered by Gunbot.
  • gunbot_logs: A comprehensive log of Gunbot's operations.
  • logs: Stores logs specific to AutoConfig.

Strategy and Indicator Files

  • customStrategies: A folder dedicated to your custom strategies.
  • tulid: Houses the indicator library.

Additional Files

  • bitrage_total_profits.sqlite and bitrage.sqlite: SQL databases for Bitrage profit and loss calculations.
  • config-js-example.txt: An example configuration file; can be removed if not needed.
  • conversion.json: Deals with currency conversions (GUI-related).
  • cs: The Telegram Bot directory.
  • gunthy-*: The executable files for running Gunbot.
  • json: Contains data for all traded or currently trading pairs.
  • node_modules: A folder for Gunbot's dependencies.
  • MSE.json and UTAconfig.json: Files that are currently not relevant.

These components are essential for running and customizing Gunbot. Handle critical files, especially config.js, with care.