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
dca.properties [2018/07/14 09:56]
sgtbatten Fixed fixing
dca.properties [2018/10/30 20:54] (current)
sgtbatten [BUY SETTINGS]
Line 1: Line 1:
-=====dca.properties ​V2.0=====+=====dca.properties ​2.1=====
 [[dca.properties1|Click here for Version 1 settings]] [[dca.properties1|Click here for Version 1 settings]]
  
Line 41: Line 41:
  
 [[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]] Coin Specific - This parameter can be specified for individual coins.\\ [[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]] Coin Specific - This parameter can be specified for individual coins.\\
-[[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] Optional - This parameter is not required for the bot to run.\\+[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] Optional - This parameter is not required for the bot to run.\\
 [[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]] Caution - This parameter can result in instant losses if used carelessly.\\ [[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]] Caution - This parameter can result in instant losses if used carelessly.\\
 [[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] DCA level specific - This parameter can be configured per DCA level.\\ [[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] DCA level specific - This parameter can be configured per DCA level.\\
Line 53: Line 53:
 [[dca.properties#​DEFAULT_DCA_max_cost]] = 0.3\\ [[dca.properties#​DEFAULT_DCA_max_cost]] = 0.3\\
 [[dca.properties#​DEFAULT_DCA_max_buy_times]] = 3\\ [[dca.properties#​DEFAULT_DCA_max_buy_times]] = 3\\
 +[[dca.properties#​DCA_max_trading_pairs]] = 5\\
 [[dca.properties#​DCA_keep_balance]] = 0\\ [[dca.properties#​DCA_keep_balance]] = 0\\
 [[dca.properties#​DCA_keep_balance_percentage]] = 0\\ [[dca.properties#​DCA_keep_balance_percentage]] = 0\\
Line 67: Line 68:
  
 [[dca.properties#​DEFAULT_DCA_ignore_sell_only_mode]] = false\\ [[dca.properties#​DEFAULT_DCA_ignore_sell_only_mode]] = false\\
 +
 +[[dca.properties#​DEFAULT_DCA_sell_wall_orderbook_depth]] = 30\\
 +[[dca.properties#​DEFAULT_DCA_sell_wall_diff_percentage]] = 500\\
  
  
 <​file>#​BUY SETTINGS#</​file>​ <​file>#​BUY SETTINGS#</​file>​
  
 +[[dca.properties#​DEFAULT_DCA_A_buy_strategy_label]] = STRATEGYNAME \\
 [[dca.properties#​buy_settings|DEFAULT_DCA_A_buy_strategy]] = EMAGAIN\\ [[dca.properties#​buy_settings|DEFAULT_DCA_A_buy_strategy]] = EMAGAIN\\
 [[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_A_buy_value_1]] = -0.50\\ [[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_A_buy_value_1]] = -0.50\\
Line 82: Line 87:
 [[dca.properties#​SOM_DCA_buy_trigger]] = -3.5\\ [[dca.properties#​SOM_DCA_buy_trigger]] = -3.5\\
 [[dca.properties#​DEFAULT_DCA_trailing_buy]] = 0.3\\ [[dca.properties#​DEFAULT_DCA_trailing_buy]] = 0.3\\
 +[[dca.properties#​DEFAULT_DCA_trailing_buy_rebound_count]] = 1\\
 [[dca.properties#​DEFAULT_DCA_buy_percentage]] = 100\\ [[dca.properties#​DEFAULT_DCA_buy_percentage]] = 100\\
 +[[dca.properties#​SOM_DCA_buy_percentage]] = 50 \\
  
  
Line 89: Line 96:
 [[dca.properties#​sell_settings|DEFAULT_DCA_A_sell_strategy]] = GAIN\\ [[dca.properties#​sell_settings|DEFAULT_DCA_A_sell_strategy]] = GAIN\\
 [[dca.properties#​DEFAULT_DCA_A_sell_value]] = 1\\ [[dca.properties#​DEFAULT_DCA_A_sell_value]] = 1\\
 +
 [[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_1]] = 0.95\\ [[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_1]] = 0.95\\
 [[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_2]] = 0.85\\ [[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_2]] = 0.85\\
 [[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_3]] = 0.75\\ [[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_3]] = 0.75\\
  
 +#​[[dca.properties#​DEFAULT_DCA_A_sell_strategy_label|DEFAULT_DCA_B_sell_strategy_label]] = STRATEGYNAME \\
 #​[[dca.properties#​sell_settings|DEFAULT_DCA_B_sell_strategy]] = RSI\\ #​[[dca.properties#​sell_settings|DEFAULT_DCA_B_sell_strategy]] = RSI\\
 #​[[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_B_sell_value]] = 65\\ #​[[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_B_sell_value]] = 65\\
 +#​[[dca.properties#​DEFAULT_DCA_A_sell_value_limit|DEFAULT_DCA_B_sell_value_limit]] = 90
  
 [[dca.properties#​DEFAULT_DCA_trailing_profit]] = 0.25\\ [[dca.properties#​DEFAULT_DCA_trailing_profit]] = 0.25\\
 +[[dca.properties#​DEFAULT_DCA_trailing_profit_type]] = DEFAULT\\
 +[[dca.properties#​DEFAULT_DCA_trailing_profit_rebound_count]] = 0\\
  
 [[dca.properties#​DCA_orderbook_profit_calculation]] = true\\ [[dca.properties#​DCA_orderbook_profit_calculation]] = true\\
Line 105: Line 117:
  
 [[dca.properties#​DEFAULT_DCA_pending_order_wait_time]] = 0\\ [[dca.properties#​DEFAULT_DCA_pending_order_wait_time]] = 0\\
 +[[dca.properties#​DEFAULT_DCA_pending_order_price_drop_trigger]] = 0\\
 +[[dca.properties#​DEFAULT_DCA_combined_cancel_pending_trigger]] = 0\\
 +[[dca.properties#​DEFAULT_DCA_combine_pending_orders]] = false\\
  
 [[dca.properties#​DEFAULT_DCA_stop_loss_trigger]] = 0\\ [[dca.properties#​DEFAULT_DCA_stop_loss_trigger]] = 0\\
 [[dca.properties#​DEFAULT_DCA_stop_loss_timeout]] = 0\\ [[dca.properties#​DEFAULT_DCA_stop_loss_timeout]] = 0\\
 +[[dca.properties#​DCA_stop_before_complete]] = false \\
 +[[DCA.properties#​DEFAULT_DCA_panic_sell_enabled]] = false \\
 \\ \\
  
Line 131: Line 148:
 DEFAULT_DCA_max_buy_times = 0 DEFAULT_DCA_max_buy_times = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Integer values equal to or greater than 0 Valid Values: Integer values equal to or greater than 0
  
 Define maximum number of times a coin is allowed to be bought again using your DCA strategy. Set to 0 for no limit. Use this setting carefully! Define maximum number of times a coin is allowed to be bought again using your DCA strategy. Set to 0 for no limit. Use this setting carefully!
 +
 +----
 +== DCA_max_trading_pairs ==
 +<file java>
 +DCA_max_trading_pairs = 10
 +</​file>​
 +[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: Integer values greater than and equal to 0.
 +
 +Set the maximum number of coins that are permitted to DCA at any given time. 
 +
 +**Note**:
 +  - If not set (including missing from the file completely) then there is no limit and all coins can be DCA'd.
 +  - If you lower this limit below the number of coins you already have in DCA, ProfitTrailer will randomly select the ones that DCA.
 +  - Excluded coins will stay in the [[web_interface_guide#​DCA Log]] but display MAX DCA PAIRS.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 143: Line 180:
 DCA_keep_balance = 0.5 DCA_keep_balance = 0.5
 </​file>​ </​file>​
-[[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal values equal to or greater than 0. Valid Values: Decimal values equal to or greater than 0.
Line 158: Line 195:
 DCA_keep_balance_percentage = 60 DCA_keep_balance_percentage = 60
 </​file>​ </​file>​
-[[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal values equal to or greater than 0.  Valid Values: Decimal values equal to or greater than 0. 
Line 181: Line 218:
 DEFAULT_DCA_min_buy_volume = 500 DEFAULT_DCA_min_buy_volume = 500
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal value greater than or equal to 0. Valid Values: Decimal value greater than or equal to 0.
Line 195: Line 232:
 DEFAULT_DCA_max_buy_spread = 2 DEFAULT_DCA_max_buy_spread = 2
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: decimal number greater than or equal to 0. Valid Values: decimal number greater than or equal to 0.
Line 208: Line 245:
 DEFAULT_DCA_min_orderbook_volume_percentage = 150 DEFAULT_DCA_min_orderbook_volume_percentage = 150
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal value equal to or greater than 0.  Valid Values: Decimal value equal to or greater than 0. 
Line 225: Line 262:
 DEFAULT_DCA_rebuy_timeout = 10 DEFAULT_DCA_rebuy_timeout = 10
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Integers greater than or equal to 0 Valid Values: Integers greater than or equal to 0
Line 238: Line 275:
 DEFAULT_DCA_buy_min_change_percentage = 0 DEFAULT_DCA_buy_min_change_percentage = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal Values Valid Values: Decimal Values
Line 255: Line 292:
 DEFAULT_DCA_buy_max_change_percentage = 0 DEFAULT_DCA_buy_max_change_percentage = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal Values Valid Values: Decimal Values
Line 271: Line 308:
 DEFAULT_DCA_ignore_sell_only_mode = false DEFAULT_DCA_ignore_sell_only_mode = false
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: true or false Valid Values: true or false
Line 281: Line 318:
  
 ---- ----
 +== DEFAULT_DCA_sell_wall_orderbook_depth ==
 +<file java>
 +DEFAULT_DCA_sell_wall_orderbook_depth = 40
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 +Valid Values: Integer values greater than 0
 +
 +Set the depth of the orderbook to look back and identify the largest sell order. If you set 30, ProfitTrailer will look at the top 30 orders. ProfitTrailer will then calculate the average the top 30 orders (excluding the largest one) and determine if the difference from the largest order exceeds your ''​[[dca.properties#​DEFAULT_DCA_sell_wall_diff_percentage]]''​ setting. If it exceeds the allowed difference the coin will not be purchased.
 +
 +**Note:**
 +  - Used with ''​[[dca.properties#​DEFAULT_DCA_sell_wall_diff_percentage]]''​
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_DCA_sell_wall_diff_percentage ==
 +<file java>
 +DEFAULT_DCA_sell_wall_diff_percentage = 600
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: Decimal values greater than 100
 +
 +Set the maximum difference allowed from the average order size within the ''​[[dca.properties#​DEFAULT_DCA_sell_wall_orderbook_depth]]''​. If this difference is exceeded then the coin will not be bought.
 +
 +//Example: \\
 +DEFAULT_DCA_sell_wall_orderbook_depth = 20 \\
 +DEFAULT_DCA_sell_wall_diff_percentage = 600 \\
 +\\
 +Average of the bottom 20 sell orders (excluding largest order) is e.g 0.05 BTC in size. If the largest order is 600% or 6 times the average (e.g 0.3 BTC) then this will be identified as a sell wall. //
 +
 +**Note:**
 +  - Used with ''​[[dca.properties#​DEFAULT_DCA_sell_wall_orderbook_depth]]''​
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ==== BUY SETTINGS ==== ==== BUY SETTINGS ====
Line 287: Line 363:
 More than one buy strategy can be used at the same time. To define more than one buy strategy replace A with B, C, D or E. e.g DEFAULT_B_buy_strategy. ALL relevant B parameters will also be required. More than one buy strategy can be used at the same time. To define more than one buy strategy replace A with B, C, D or E. e.g DEFAULT_B_buy_strategy. ALL relevant B parameters will also be required.
  
 +----
 +== DEFAULT_DCA_A_buy_strategy_label ==
 +<file java>
 +DEFAULT_DCA_A_buy_strategy_label = RSI900
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: Any alphanumeric name you choose.
 +
 +Set a unique label for your strategy in order to facilitate the same indicator being used multiple times.
 +
 +//​Example://​ \\
 +in [[indicators.properties]] we define RSI and RSI900 values
 +
 +//​RSI_candle_period = 900 \\
 +RSI_length = 35 \\
 +\\
 +RSI900_candle_period = 900 \\
 +RSI900_length = 35 //\\
 +
 +In [[dca.properties]] we can now use either of these individually or both at once.
 +
 +//​DEFAULT_DCA_A_buy_strategy = RSI\\
 +DEFAULT_DCA_A_buy_value = 37 \\
 +\\
 +DEFAULT_DCA_B_buy_strategy_label = RSI900\\
 +DEFAULT_DCA_B_buy_strategy = RSI\\
 +DEFAULT_DCA_B_buy_value = 45 //
 +
 +**Note:**
 +  - The label can be anything alphanumeric. 24NUGGETSFOR995 will work
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 ---- ----
 == DEFAULT_DCA_A_buy_strategy ​ == == DEFAULT_DCA_A_buy_strategy ​ ==
Line 324: Line 435:
  
 ---- ----
 +
 == DEFAULT_DCA_A_buy_value_limit ​ == == DEFAULT_DCA_A_buy_value_limit ​ ==
  
Line 329: Line 441:
 DEFAULT_DCA_A_buy_value_limit = 0 DEFAULT_DCA_A_buy_value_limit = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
  
 Valid Values: positive or negative decimal values depending on the [[buy_and_sell_strategies#​strategies_available|Buy Strategy]] Valid Values: positive or negative decimal values depending on the [[buy_and_sell_strategies#​strategies_available|Buy Strategy]]
  
-This value sets the outer limit of a "buy zone" with the buy value as the other limit. ​Set to 0 to disable. +This value sets the outer limit of a "buy zone" with the buy value as the other limit. ​Do not include this parameter if no limit is desired.
- +
-<file java> +
-If buy_value >= 0 then buy_value_limit > 0 +
-If buy_value < 0 then buy_value_limit < 0 +
-</​file>​ +
  
 **Notes**: **Notes**:
Line 409: Line 515:
 <file java> <file java>
 DEFAULT_DCA_buy_trigger = -3.5 DEFAULT_DCA_buy_trigger = -3.5
 +</​file>​
 +OR
 +<file java>
 +DEFAULT_DCA_buy_trigger = 0.88
 </​file>​ </​file>​
 [[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] [[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
  
-Valid Values: ​Decimal values equal to or less than 0+Valid Values: ​Any positive ​or negative decimal values
  
 Set the loss % required before a DCA buy can take place. All configured buy strategies must be true and you must have lost at least this amount from your average bought price. Set the loss % required before a DCA buy can take place. All configured buy strategies must be true and you must have lost at least this amount from your average bought price.
Line 425: Line 535:
 SOM_DCA_buy_trigger = -5.5 SOM_DCA_buy_trigger = -5.5
 </​file>​ </​file>​
-[[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]+[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
  
 Valid Values: Decimal values equal to or less than 0.  Valid Values: Decimal values equal to or less than 0. 
Line 441: Line 551:
 DEFAULT_DCA_trailing_buy = 0.3 DEFAULT_DCA_trailing_buy = 0.3
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal values equal to or greater than 0.  Valid Values: Decimal values equal to or greater than 0. 
  
 Once all buy strategies are true, the bot will make note of the current ask price and begin watching. The price needs to fall and then rise by at least the percentage specified in order for a buy to be attempted. This will try to catch the price at its lowest point before trailing back up and buying. ​ Once all buy strategies are true, the bot will make note of the current ask price and begin watching. The price needs to fall and then rise by at least the percentage specified in order for a buy to be attempted. This will try to catch the price at its lowest point before trailing back up and buying. ​
 +
 +----
 +== DEFAULT_DCA_trailing_buy_rebound_count==
 +
 +<file java>
 +DEFAULT_DCA_trailing_buy_rebound_count = 1
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: Integer values equal to or greater than 0. 
 +
 +Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy. 
 +
 +A normal trail will occur as the price rises. If the trailing_buy amount is reached ProfitTrailer notes the current price as the new lowest price reached. The price must now go lower than the noted price to complete the first rebound. Normal trailing then occurs again and the process will repeat itself as many times as set to do so.
 +
 +More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
 ---- ----
Line 453: Line 579:
 DEFAULT_DCA_buy_percentage = 100 DEFAULT_DCA_buy_percentage = 100
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
  
 Valid Values: Decimal values equal to or greater than 0.  Valid Values: Decimal values equal to or greater than 0. 
Line 461: Line 587:
 **Note**: **Note**:
   - The unnumbered default parameter will be used if no DCA level specific alternative is configured.   - The unnumbered default parameter will be used if no DCA level specific alternative is configured.
 +
 +----
 +== SOM_DCA_buy_percentage ==
 +<file java>
 +SOM_DCA_buy_percentage = 100
 +</​file>​
 +[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid values: Integer values greater than 0
 +
 +Set the buy percentage to be used instead of ''​[[dca.properties#​DEFAULT_DCA_buy_percentage]]''​ when sell only mode (SOM) is on. The set value is the % of the current holding to be purchased at the next DCA level.
 +
 +**Note**:
 +  - The unnumbered default parameter will be used if no DCA level specific alternative is configured.
 +  - If you have DCA level specific buy triggers you need to set SOM triggers for each level also.
  
 \\ \\
 [[dca.properties|TOP]] [[dca.properties|TOP]]
 \\ \\
 +
 ---- ----
  
Line 472: Line 614:
  
 It is **required that GAIN is used** as one of the sell strategies. GAIN determines the minimum profit percentage before the bot can sell the coin.  It is **required that GAIN is used** as one of the sell strategies. GAIN determines the minimum profit percentage before the bot can sell the coin. 
 +
 +----
 +== DEFAULT_DCA_A_sell_strategy_label ==
 +<file java>
 +DEFAULT_DCA_A_sell_strategy_label = RSI900
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: Any alphanumeric name you choose.
 +
 +Set a unique label for your strategy in order to facilitate the same indicators being used multiple times.
 +
 +For an example of usage see [[dca.properties#​DEFAULT_DCA_A_buy_strategy_label]]
 +
 +**Note:**
 +  - The label can be anything alphanumeric. WELOVESGTBATTEN will work
  
 ---- ----
Line 504: Line 662:
   - The unnumbered default parameter will be used if no DCA level specific alternative is configured.   - The unnumbered default parameter will be used if no DCA level specific alternative is configured.
   - If you are using trailing the bot will follow the price up further and therefore may not sell immediately. See ''​[[dca.properties#​DEFAULT_trailing_profit]]''​ below.   - If you are using trailing the bot will follow the price up further and therefore may not sell immediately. See ''​[[dca.properties#​DEFAULT_trailing_profit]]''​ below.
 +
 +----
 +== DEFAULT_DCA_A_sell_value_limit ==
 +<file java>
 +DEFAULT_DCA_A_sell_value_limit = 
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: positive or negative decimal numbers depending on the [[buy_and_sell_strategies|Sell Strategy]]
 +
 +This value sets the outer limit of a "sell zone" with the sell value as the other limit. Do not include this parameter if no limit is desired.
 +
 +**NOTE**: The set ''​sell_value_limit''​ needs to be further into the sell zone than the buy value otherwise a sell cannot take place. Trailing will not work beyond the limit.
 +
 +//Example: EMASPREAD \\
 +DEFAULT_DCA_A_sell_value = -1.5 \\ 
 +DEFAULT_DCA_A_sell_value_limit = -2.5 \\
 +The bot will only sell if EMASPREAD is between -1.5% and -2.5%//
 +
 +//Example: EMASPREAD \\
 +DEFAULT_DCA_A_sell_value = 0.55 \\ 
 +DEFAULT_DCA_A_sell_value_limit = 2.5 \\
 +The bot will only sell if EMASPREAD is between 0.5% and 2.5%//
 +
 +//Example: LOWBB \\
 +DEFAULT_DCA_A_sell_value = -20 \\ 
 +DEFAULT_DCA_A_sell_value_limit = -45 \\
 +The bot will only buy if the price is between LOWBB -20 and LOWBB -45//
 +
 +//Example: LOWBB \\
 +DEFAULT_DCA_A_sell_value = 15 \\ 
 +DEFAULT_DCA_A_sell_value_limit = -50 \\
 +The bot will only sell if the price is between LOWBB 15 and LOWBB -50//
 +
 +//Example: RSI \\
 +DEFAULT_DCA_A_sell_value = 30 \\ 
 +DEFAULT_DCA_A_sell_value_limit = 15 \\
 +The bot will only sell if RSI is between 15 and 30//
  
 ---- ----
Line 511: Line 707:
 DEFAULT_DCA_trailing_profit = 0 DEFAULT_DCA_trailing_profit = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal number greater than or equal to zero.  Valid Values: Decimal number greater than or equal to zero. 
  
-Once all sell strategies are true, the bot will make note of the current bid price and begin watching. The price needs to rise and then fall by at least the percentage specified in order for a sell to be attempted. In short, tries to trail the profit upwards to gain better profits. More detail in on how Trailing works [[a_trailing_story2|here in A Trailing Story]].+Once all sell strategies are true, the bot will make note of the current bid price and begin watching. The price needs to rise and then fall by at least the percentage specified in order for a sell to be attempted. In short, tries to trail the profit upwards to gain better profits. More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
 **Note:​** ​ ''​[[dca.properties#​DEFAULT_take_profit]]''​ and ''​[[dca.properties#​DEFAULT_max_profit]]''​ can trigger a sell without trailing. **Note:​** ​ ''​[[dca.properties#​DEFAULT_take_profit]]''​ and ''​[[dca.properties#​DEFAULT_max_profit]]''​ can trigger a sell without trailing.
 +
 +----
 +== DEFAULT_DCA_trailing_profit_type ==
 +<file java>
 +DEFAULT_DCA_trailing_profit_type = GROW
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: DEFAULT, GROW, SHRINK
 +
 +Set the ''​[[dca.properties#​DEFAULT_DCA_trailing_profit|trailing_profit]]''​ to grow or shrink when the profit increases. The altered trailing profit is calculated based on the highest profit percentage reached and will remain in use until the coin sells or the trailing ends without a sale.
 +
 +The formula used is:
 +
 +**Grow**
 +  multiplier = trailingValue / sellValue;
 +  newTrailingValue = Math.abs(multiplier * highestTrailingValue);​
 +
 +**Shrink**
 +  multiplier = trailingValue * sellValue;
 +  newtrailingValue = Math.abs(multiplier / highestTrailingValue);​
 +  ​
 +**Note**
 +  - Using DEFAULT will not alter the ''​trailing_profit''​ value at all.
 +
 +----
 +== DEFAULT_DCA_trailing_profit_rebound_count ==
 +
 +<file java>
 +DEFAULT_DCA_trailing_profit_rebound_count = 1
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: Integer values equal to or greater than 0. 
 +
 +Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy. 
 +
 +A normal trail will occur as the price falls. If the trailing_profit amount is reached ProfitTrailer notes the current price as the new highest price. The price must now go higher than the noted price to complete the first rebound. Normal trailing then occurs again and the process will repeat itself as many times as set to do so.
 +
 +More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
 ---- ----
Line 525: Line 761:
 DCA_orderbook_profit_calculation = true DCA_orderbook_profit_calculation = true
 </​file>​ </​file>​
-[[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: true or false Valid Values: true or false
  
-Normally ​the bot only looks at the highest bid order to calculate profit percentage and observe ​orderbook  ​volume. If set to true, ProfitTrailer will look at the highest bid order with enough volume ​rather than just the highest bid order. This gives you a more realistic representation of your position and allows the bot to make a sale it otherwise not have even attempted.+If false (default) ​the bot only looks at the highest bid order to calculate profit percentage and observe ​order book volume. If the highest Bid is not large enough, ProfitTrailer won't try to sell. If set to true, ProfitTrailer will work its way down the order book adding up the orders until it has enough volume. This gives you a more realistic representation of your position and allows the bot to make a sale it otherwise not have even attempted.
  
-Both percentages will be displayed in the Profit % column. The volume corrected profit % is displayed beneath the standard profit % only when profit ​is greater than 0.+Both percentages will be displayed in the Profit % column ​in the [[web_interface_guide|DCA Log]]. The volume corrected profit % is displayed beneath the standard profit % only when SSV is greater than 0.
  
 ---- ----
Line 539: Line 775:
 DEFAULT_DCA_max_profit = 15 DEFAULT_DCA_max_profit = 15
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal number greater than or equal to zero.  Valid Values: Decimal number greater than or equal to zero. 
Line 552: Line 788:
 DEFAULT_DCA_take_profit_percentage = 0  DEFAULT_DCA_take_profit_percentage = 0 
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Decimal values greater than or equal to 0. Valid Values: Decimal values greater than or equal to 0.
Line 588: Line 824:
 DEFAULT_DCA_take_profit_wait_time = 0 DEFAULT_DCA_take_profit_wait_time = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Integer values greater than or equal to 0. Valid Values: Integer values greater than or equal to 0.
Line 600: Line 836:
 DEFAULT_DCA_pending_order_wait_time = 0 DEFAULT_DCA_pending_order_wait_time = 0
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Integer values greater or equal to 0 Valid Values: Integer values greater or equal to 0
Line 609: Line 845:
  
 **Note:​** ​ **Note:​** ​
-  - Coins that sell from a pending ​order are not recorded in the sales log. ''​[[dca.properties#​DEFAULT_combined_cancel_pending_trigger]]''​ in pairs.properties can be used to attempt to cancel pending sales and return them to the pairs/dca log if combined profit reaches the set level.+  - Coins that sell from a manually placed exchange ​order are not recorded in the sales log. Coins that sell from a bot placed pending order will be recorded in the sales log. 
 +  -  ​''​[[dca.properties#​DEFAULT_combined_cancel_pending_trigger]]''​ in pairs.properties can be used to attempt to cancel pending sales and return them to the pairs/dca log if combined profit reaches the set level
 + 
 + 
 +---- 
 +== DEFAULT_DCA_pending_order_price_drop_trigger == 
 + 
 +<file java> 
 +DEFAULT_DCA_pending_order_price_drop_trigger = 10 
 +</​file>​ 
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
 + 
 +Valid values: Positive or negative decimal values.  
 +(1 and -1 are equal.) 
 + 
 +If the price has dropped x% since we bought a coin and we have not sold it (and it's in the dca log), create limit sell order for that pair at a price equivalent to your GAIN strategy ''​[[dca.properties#​Default DCA_A_sell_value|sell_value]]''​. This places the coin in the pending log and enables the bot to buy this pair again separately if suitable while not affecting the existing bag. Set to 0 to disable. 
 + 
 +The bot will report the Profit % and the Combined Profit % in the Pending Log. Combined Profit takes the pending order and any additional amounts of the same coin into account and gives the overall position for that pair. 
 + 
 +**Notes**:  
 +  - Coins that sell from a manually placed exchange order are not recorded in the sales log. Coins that sell from a bot placed pending order will be recorded in the sales log. 
 +  -  ''​[[dca.properties#​DEFAULT_DCA_combined_cancel_pending_trigger]]''​ can be used to attempt to cancel pending sales and return them to the pairs/dca log if combined profit reaches the set level. 
 + 
 +== DEFAULT_DCA_combined_cancel_pending_trigger == 
 + 
 +<file java> 
 +DEFAULT_DCA_combined_cancel_pending_trigger = 0 
 +</​file>​ 
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
 + 
 +Valid values: Decimal value greater or equal to 0.  
 + 
 +Cancel pending orders for a coin if the combined profit with a non-pending amount of the same coin reaches specified amount. 
 + 
 +---- 
 +== DEFAULT_DCA_combine_pending_orders == 
 +<file java> 
 +DEFAULT_DCA_combine_pending_orders = false 
 +</​file>​ 
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
 + 
 +Valid Values: true/​false 
 + 
 +Choose to combine pending orders for the same coin into one item in the pending log or keep them as separate items. 
 + 
 +Default value is true if not set.
  
 ---- ----
Line 617: Line 898:
 DEFAULT_DCA_stop_loss_trigger = -10 DEFAULT_DCA_stop_loss_trigger = -10
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]]
  
 Valid Values: Decimal values less than or equal to 0 Valid Values: Decimal values less than or equal to 0
Line 624: Line 905:
  
 **Notes**: ​ **Notes**: ​
-  - Stop loss positive values are automatically converted to negative value. Stop loss will only occur once DCA is complete. +  - Stop loss positive values are automatically converted to negative value. ​ 
-  - What is complete?  +  - Stop loss will only occur once DCA is complete ​unless ''​[[dca.properties#​DCA_stop_before_complete]] = true''​ 
-     - max_buy_times is reached OR +
-     - max_cost is reached OR +
-     - there is not enough balance to keep using DCA.+
  
 ---- ----
Line 636: Line 915:
 DEFAULT_DCA_stop_loss_timeout = 5 DEFAULT_DCA_stop_loss_timeout = 5
 </​file>​ </​file>​
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_setting#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
  
 Valid Values: Integers greater than or equal to 0 Valid Values: Integers greater than or equal to 0
  
 Set the amount of minutes that the bot is not allowed to buy a coin after it was sold by stop loss trigger. Set the amount of minutes that the bot is not allowed to buy a coin after it was sold by stop loss trigger.
 +
 +----
 +== DCA_stop_before_complete ==
 +
 +<file java>
 +DCA_stop_before_complete = false
 +</​file>​
 +[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: true or false
 +
 +If set to true, Stoploss in DCA will behave the same as in pairs. once the set percentage is reached, the coin will sell as a stoploss.
 +
 +If set to false, stoploss will not occur until DCA is complete.
 +
 +What is complete? ​
 +  - max_buy_times is reached OR
 +  - max_cost is reached OR
 +  - there is not enough balance to keep using DCA.
  
 \\ \\
Line 646: Line 944:
 \\ \\
 ---- ----
 +== DEFAULT_DCA_panic_sell_enabled ==
 +
 +<file java>
 +DEFAULT_DCA_panic_sell_enabled = false
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]]
 +
 +Valid values: true or false
 +
 +Set to "​true"​ to sell all of your coins in the [[web_interface_guide#​DCA Log]] IMMEDIATELY for current market prices. It does what it says, and does it **now**. Use with caution.
 +
 +**Note:**
 +  - Coins in the [[web_interface_guide#​Pairs Log]] and in the [[web_interface_guide#​Pending Log]] will not be sold.
 +
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +----
 +
 ==== Example Usage ==== ==== Example Usage ====
 ---- ----
  • dca.properties.1531562185.txt.gz
  • Last modified: 4 months ago
  • by sgtbatten