Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
hotconfig1 [2018/04/19 00:43]
solanthus
— (current)
Line 1: Line 1:
-===== HotConfig AKA One Time Settings ===== 
- 
-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.properties1|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. 
- 
-{{:​zh:​hotconfig01.jpg?​200|}} 
- 
-==== 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) 
-<file java> XXX_XXX_bought_price = 0.123456 </​file>​ 
- 
-**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. 
- 
-<​file>​ 
-Total Cost + Fees 
------------------- = Average Bought Price 
-Number of Coins 
-</​file>​ 
-----  
-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 
- 
-<file java>​XXX_XXX_reset_stored_average = true</​file>​ 
- 
-{{:​screen_shot_2017-12-23_at_7.36.49_pm.png?​600|}} 
- 
- 
-**NOTE:** It has been observed that running both of these commands together at the same time works better than one at a time: 
- 
-<file java>​XXX-XXX_reset_stored_average = true 
-XXX-XXX_bought_price = 0.1234</​file>​ 
  
  • hotconfig1.1524098630.txt.gz
  • Last modified: 14 months ago
  • by solanthus