The HotConfig is new to release 1.2.6.1, and allows us to set one time properties from the web interface without having to edit any specific properties file.

HotConfig will not be displayed on a default install - to use it in your web browser user interface (let's call it the UI for short), you must turn the Config on first. You will need to change the server.enableConfig setting and add a password to force a login to the UI in application.properties. See application.properties for these settings. This is necessary to stop someone from gaining easy access to your configuration files via the UI, especially if you are using a VPS and managing remotely.

Once you have enabled HotConfig, in the UI click the word in the menus to the left of the screen, and type the commands in the window that opens. Enter each entry on a separate line.

Once you are done editing, save and apply by clicking the Save button to the right of the screen. The entries will not disappear until you refresh the screen or leave and return to the page, but they have been applied once you get the “You have successfully saved the data” message.

Once you hit the save button, the data is read, applied and removed.

Current supported settings

Note: Remember to use the proper format for the coin pairing for your current exchange.

Poloniex ​coin pairs are defined like BTC_ETH
Bittrex ​coin pairs are defined like BTC-ETH
Binance ​coin pairs are defined like ETHBTC


Set the bought price if the bot could not calculate the price correctly. The price you put in here WILL be set as the current average price of your pair. (Example is shown in Poloniex ​format)

 XXX_XXX_bought_price = 0.123456 

How to calculate the average price.

This is just a very simple average. Add the total cost of all of that coin you own including fees and divide by the number of that coin you own.

Total Cost + Fees
------------------ = Average Bought Price
Number of Coins

The new averaging logic will store data average prices in the ProfitTrailerData.json ​file.

If the bot just lost an average price and you want to force the bot to calculate this price again based on your exchange trade history use this option. If you force a calculation and the price still cannot be calculated, use the option to set bought_price

XXX_XXX_reset_stored_average = true

NOTE: It has been observed that running both of these commands together at the same time works better than one at a time:

XXX-XXX_reset_stored_average = true
XXX-XXX_bought_price = 0.1234
  • hotconfig1.txt
  • Last modified: 7 months ago
  • by solanthus