Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hotconfig [2018/12/03 14:18]
armchairguru
hotconfig [2019/02/08 13:09] (current)
armchairguru
Line 1: Line 1:
 ===== HotConfig - One off Adjustments ===== ===== HotConfig - One off Adjustments =====
-[[hotconfig1|Click here for Version 1 HotConfig]] 
  
 The HotConfig allows you to set one time properties from the web interface. ​ The HotConfig allows you to set one time properties from the web interface. ​
  
 The HotConfig option is available in two different locations which are dependent upon your config mode: The HotConfig option is available in two different locations which are dependent upon your config mode:
 +
 +\\
  
 In Basic Mode when you click the Hotconfig icon beside the configuration strategy and coin specific dropdown selection boxes\\ In Basic Mode when you click the Hotconfig icon beside the configuration strategy and coin specific dropdown selection boxes\\
 {{:​basic_hotconfig_icon.png?​nolink|}}. {{:​basic_hotconfig_icon.png?​nolink|}}.
 +
 +\\
  
 In Advanced Mode when you click on the [[web_interface_guide#​settings_cog | settings cog]] and then on the [[web_interface_guide#​settings | Adv. Config]] button in the menu.\\ In Advanced Mode when you click on the [[web_interface_guide#​settings_cog | settings cog]] and then on the [[web_interface_guide#​settings | Adv. Config]] button in the menu.\\
 In advanced mode, click on the Hotconfig Tab.\\ In advanced mode, click on the Hotconfig Tab.\\
-{{:​advanced_config_hotconfig.png?​nolink|}}+{{:​advanced_config_hotconfig.png?​400}}
  
 +\\
  
 Enter each desired command on a new line. Enter each desired command on a new line.
Line 20: Line 24:
  
 The entries have been applied once you get the "You have successfully saved the data" message however they will dissapear if you refresh the screen or leave and return to the page. The entries have been applied once you get the "You have successfully saved the data" message however they will dissapear if you refresh the screen or leave and return to the page.
 +
 +\\
  
 ==== Current supported settings ==== ==== Current supported settings ====
Line 40: Line 46:
 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.  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. 
  
-**Tips:** 
-  * This does not always work on the first try but will work eventually. 
-  * Use the reset command at the same time as detailed below. 
-  * Sometimes 8 digit decimals are harder to get to take. If you can use less digits to get close try that, then fine tune it. (e.g if bought price is 0.00123456 try using 0.02 first) 
  
 +\\
  
-**How to calculate the average price.**+====How to calculate the average price====
  
 This is just a very simple weighted average. Find each purchase'​s weighted average, (price + fees) x coin amount, then add those totals together to find the total cost, then use the total cost including fees and divide by the number of that coin you own.\\ This is just a very simple weighted average. Find each purchase'​s weighted average, (price + fees) x coin amount, then add those totals together to find the total cost, then use the total cost including fees and divide by the number of that coin you own.\\
Line 61: Line 64:
 </​file>​ </​file>​
  
-The new averaging logic will store data average prices in the ProfitTrailerData.json ​file.\\+The new averaging logic will store the new data.\\ 
 [[https://​www.rapidtables.com/​calc/​math/​weighted-average-calculator.html|You can Click here for a simple weighted average calculator.]]\\ [[https://​www.rapidtables.com/​calc/​math/​weighted-average-calculator.html|You can Click here for a simple weighted average calculator.]]\\
 For the calculator, weight is the number of coins, data number is the purchase price. For the calculator, weight is the number of coins, data number is the purchase price.
- 
-----  
-== reset_stored_average == 
- 
-The bot can attempt to calculate the average bought price for you based on your exchange trade history. If you force a calculation and the price still cannot be calculated, use the option above to set bought_price. 
- 
-<file java> 
-XXX_reset_stored_average = true 
-</​file>​ 
- 
-**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_reset_stored_average = true 
-XXX_bought_price = 0.1234</​file>​ 
- 
-Example Usage: 
- 
-{{::​config_hotconfig_bought_price.png?​nolink|}} 
- 
-{{:​config_hotconfig_v2.png?​nolink|}} 
- 
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
  • hotconfig.1543846695.txt.gz
  • Last modified: 4 months ago
  • by armchairguru