FAQ
Let us help you find the answer to your question faster by using keywords
Search within the active FAQ section (to search all FAQ sections, use the general site search)
File system
Such data is stored in the root folder of the MoonBot terminal in the BotConfig.bcfg file, which is the main file with bot settings, and also stores encrypted API key and API secret, profile parameters, location of sliders and checkboxes, bot colour theme type (light or dark), etc.
Ensure that the BotConfig.bcfg file is properly secured. Make a copy of this file on a USB flash drive and store it in a safe place.
The person in possession of this file and its password will have access to your keys!
Such data is written in the root folder of the MoonBot terminal in the file MoonBot.ini. The file contains specific colour settings of the bot themes: chart background, grid colour and display of trades, order book colours, as well as additional system parameters for faster strategies, strategy recording parameters (short or long form), the number of open charts and other additional parameters.
In the MoonBot.ini file of the MoonBot terminal, in the [Charts] settings section, the MouseClickDelay=230 parameter is the delay in milliseconds between repeated clicks on the Buy order (default 230 ms).
All changes to the MoonBot.ini file should only be made when the MoonBot terminal is turned off.
The updates folder of the MoonBot terminal contains a text file with the current version number and archives of the MoonBot versions that have been downloaded from our servers to update MoonBot to a more recent version.
The logs folder stores all the logs in which the MoonBot terminal records all its actions.
There are text files without prefix ADD with date (year-month-day) with extension .log - it is a log of all bot actions for those dates in which bot records all events line by line with time: bot start and stop, strategy start, buy, sell, order reset, API errors, records of stop losses, trailing as well as other working and system events.
There are text files with prefix ADD with date (year-month-day) with extension .log - these are logs of all records from Telegram for these dates, which were received by MoonBot, and you can determine if the terminal reads messages from Telegram correctly.
Also in the logs folder there are Pump files with the trade pair and .bin extension, which are graphical records of trades in the MoonBot terminal. They can be opened through the table with reports, if you click on the coin name in the line with the report and see what was the entry into the deal and how it closed.
On the Settings - Advanced - System tab, click the “Delete old logs since XX days” slider. If 0, don't keep report charts also” you can set the timeframe for deleting logs and charts with reports with .bin extension from the folder with logs. If the slider is set to 0 in the leftmost position, the charts with reports of deals will not be written to the folder with logs. The slider “Charts in reports XX mins after close” can be used to adjust the duration of the time interval on the chart after closing a trade.
In the folder where MoonBot terminal is installed, in the data subfolder, the files Binance.db (for the spot market) or Binance Futures.db (for the futures market) contain reports on all trades (open, closed, deleted). That is, all the information you see, when you press the "Reports" button.
To delete the entire trade report from the MoonBot terminal, you must first close it. Then go to the data folder and delete the files Binance.db (for the spot market) or Binance Futures.db (for the futures market) from the data folder. At next start of the MoonBot terminal, it will automatically create a new file with the same name and it will be empty. This way the old trades in the MoonBot terminal will no longer be.
The data folder of the MoonBot terminal contains files of the following form: BinanceBTCOrders.backup - this is, for example, the main file where all orders (BUY, SELL, PENDING) placed on the chart for a BTC pair are kept.
The files BinanceBTCOrders.backup2 and BinanceBTCOrders.backup3 are copies of the main file BinanceBTCOrders.backup and if it is accidentally corrupted, the bot takes data from these files with index 2 and 3.
If you delete these three files when the bot is closed, the next time you start the bot, these files will be re-created by the bot as empty and all orders on the chart will be missing.
Specifying the name of the trading pair in the file corresponds to the orders on this pair, if you trade on the USDT pair, the bot creates files BinanceUSDTOrders.backup, BinanceUSDTOrders.backup2 and BinanceUSDTOrders.backup3.
Strategies in the MoonBot terminal are stored in the data folder in files like: Binance-BTC-strat.txt - this is, for example, a file with strategies for the BTC pair for the spot market. If you switch to another pair, for example USDT, the bot will create a new empty file Binance-USDT- strat.txt and the strategies created in the bot on USDT pair will be written and read from this file.
Strategies can be transferred to another pair, to do this, copy the file with the strategies and change the name of the trading pair, and after running the bot, check the strategy for compliance with the parameters of this pair (the volume in the filters, the order size, etc.), since the strategy BTC order size can be set to 1 BTC, but in the strategy USDT it will be 1 USDT, then you need to change the order size to the size you need in USDT.