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:

In Basic Mode when you click the Hotconfig icon beside the configuration strategy and coin specific dropdown selection boxes

In Advanced Mode when you click on the settings cog and then on the Adv. Config button in the menu.
In advanced mode, click on the Hotconfig Tab.

Enter each desired command on a new line.

Once you are done editing, save and apply by clicking the 'Submit' button if in basic mode, or by saving the configuration in advanced mode.

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

test_mode_start_balance = 0.5

Valid values: Decimal values greater than or equal to 0.

Set or change the starting Balance for test bots.

XXX_DCA_set_buy_times = 0

Set the DCA level on a coin. If you want ProfitTrailer to see it has DCA'd 2 times set 2

Only works if this coin is DCA enabled.

XXX_bought_price = 0.123456 

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.

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.
You should also verify that the total number of coins you calculate adds up to the total amount of coins that ProfitTrailer shows you own.

(price + fees) x coin amount = cost for purchase 1
(price + fees) x coin amount = cost for purchase 2 
cost for purchase 1 + cost for purchase 2 = Total Cost + Fees

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

The new averaging logic will store the new data.

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.

  • hotconfig.txt
  • Last modified: 6 weeks ago
  • by armchairguru