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/08/29 23:02]
sgtbatten [SELL SETTINGS]
dca.properties [2019/02/15 13:36] (current)
armchairguru
Line 1: Line 1:
-=====dca.properties ​2.1===== +=====dca.properties=====
-[[dca.properties1|Click here for Version 1 settings]] +
- +
-**After you first boot the bot and it loads the Initialization files you must make any future edits to this file via the Web GUI [[web_interface_guide#​Config]]**+
  
 These settings control the buying and selling behaviours for coins that are in the DCA log which is determined by the DEFAULT_DCA_enabled parameter in pairs.properties. These settings control the buying and selling behaviours for coins that are in the DCA log which is determined by the DEFAULT_DCA_enabled parameter in pairs.properties.
----- 
- 
-===Video Guide=== 
-Coming Soon! 
- 
 ---- ----
  
Line 41: Line 33:
  
 [[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 45:
 [[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#​DEFAULT_DCA_max_trading_pairs]] = 5\\+[[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 59: Line 51:
 <​file>#​BUY FILTER SETTINGS#</​file>​ <​file>#​BUY FILTER SETTINGS#</​file>​
  
 +[[dca.properties#​DEFAULT_DCA_buy_leverage]] = 2\\
 [[dca.properties#​DEFAULT_DCA_min_buy_volume]] = 300\\ [[dca.properties#​DEFAULT_DCA_min_buy_volume]] = 300\\
 [[dca.properties#​DEFAULT_DCA_max_buy_spread]] = 1.0\\ [[dca.properties#​DEFAULT_DCA_max_buy_spread]] = 1.0\\
Line 76: Line 69:
  
 [[dca.properties#​DEFAULT_DCA_A_buy_strategy_label]] = STRATEGYNAME \\ [[dca.properties#​DEFAULT_DCA_A_buy_strategy_label]] = STRATEGYNAME \\
-[[dca.properties#​buy_settings|DEFAULT_DCA_A_buy_strategy]] = EMAGAIN\\+[[dca.properties#​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\\
 [[dca.properties#​DEFAULT_DCA_A_buy_value_limit]] = -2.5\\ [[dca.properties#​DEFAULT_DCA_A_buy_value_limit]] = -2.5\\
 +[[dca.properties#​DEFAULT_DCA_A_buy_strategy_direction]] = \\
  
-[[dca.properties#​buy_settings|DEFAULT_DCA_B_buy_strategy]] = RSI\\+[[dca.properties#​DEFAULT_DCA_A_buy_Strategy|DEFAULT_DCA_B_buy_strategy]] = RSI\\
 [[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_B_buy_value]] = 35\\ [[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_B_buy_value]] = 35\\
 [[dca.properties#​DEFAULT_DCA_A_buy_value_limit|DEFAULT_DCA_B_buy_value_limit]] = 5\\ [[dca.properties#​DEFAULT_DCA_A_buy_value_limit|DEFAULT_DCA_B_buy_value_limit]] = 5\\
Line 94: Line 88:
 <​file>#​SELL SETTINGS#</​file>​ <​file>#​SELL SETTINGS#</​file>​
  
-[[dca.properties#​sell_settings|DEFAULT_DCA_A_sell_strategy]] = GAIN\\+[[dca.properties#​DEFAULT_DCA_A_sell_strategy]] = GAIN\\
 [[dca.properties#​DEFAULT_DCA_A_sell_value]] = 1\\ [[dca.properties#​DEFAULT_DCA_A_sell_value]] = 1\\
  
Line 102: Line 96:
  
 #​[[dca.properties#​DEFAULT_DCA_A_sell_strategy_label|DEFAULT_DCA_B_sell_strategy_label]] = STRATEGYNAME \\ #​[[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#​DEFAULT_DCA_A_sell_strategy|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_A_sell_value_limit|DEFAULT_DCA_B_sell_value_limit]] = 90
Line 115: Line 109:
 [[dca.properties#​DEFAULT_DCA_take_profit_reset_percentage_move]] = 0.2\\ [[dca.properties#​DEFAULT_DCA_take_profit_reset_percentage_move]] = 0.2\\
 [[dca.properties#​DEFAULT_DCA_take_profit_wait_time]] = 30\\ [[dca.properties#​DEFAULT_DCA_take_profit_wait_time]] = 30\\
 +[[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]] = 0\\
 +[[dca.properties#​DEFAULT_DCA_take_profit_safety_fire]] = 0\\
  
 +[[dca.properties#​DEFAULT_DCA_pending_gain_percentage]] = 0\\
 [[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_pending_order_price_drop_trigger]] = 0\\
 [[dca.properties#​DEFAULT_DCA_combined_cancel_pending_trigger]] = 0\\ [[dca.properties#​DEFAULT_DCA_combined_cancel_pending_trigger]] = 0\\
 +[[dca.properties#​DEFAULT_DCA_cancel_pending_trigger]] = 0\\
 [[dca.properties#​DEFAULT_DCA_combine_pending_orders]] = false\\ [[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#​DEFAULT_DCA_trailing_stop_loss_trigger_arm]] = 0\\
 +[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger]] = 0\\
 [[dca.properties#​DCA_stop_before_complete]] = false \\ [[dca.properties#​DCA_stop_before_complete]] = false \\
 [[DCA.properties#​DEFAULT_DCA_panic_sell_enabled]] = false \\ [[DCA.properties#​DEFAULT_DCA_panic_sell_enabled]] = false \\
Line 136: Line 136:
 DEFAULT_DCA_max_cost = 0 DEFAULT_DCA_max_cost = 0
 </​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_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 value equal to or greater than 0 Valid Values: Decimal value equal to or greater than 0
  
 Define the TOTAL amount (in the market currency) the bot is able to use to buy a single pair when using DCA. Set to 0 for no limit. ​ Define the TOTAL amount (in the market currency) the bot is able to use to buy a single pair when using DCA. Set to 0 for no limit. ​
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 148: Line 152:
 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.properties|TOP]]
 +\\
  
 ---- ----
Line 180: Line 188:
 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 195: Line 203:
 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 212: Line 220:
 ---- ----
 ==== FILTERING COINS ==== ==== FILTERING COINS ====
 +
 +== DEFAULT_DCA_buy_leverage ==
 +
 +<file java>
 +DEFAULT_DCA_buy_leverage = 2
 +</​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}}]]
 +
 +<color #​ed1c24>​Valid Values:</​color>​ Decimal values greater than or equal to 1
 +
 +<color #​ed1c24>​Description/​function</​color>​
 +
 +**WARNING: Leverage Trading can be dangerous if you use too high a leverage value. The higher you set your leverage the smaller the margin of error you will have in price movement before your trading position is liquidated. There is the possibility that you can lose your entire trading position value using leverage. 100x leverage for example will usually result in your entire trading position being liquidated immediately as the amount the price of the coin has to move is minuscule before it reaches the liquidation value.**
 +
 +Leverage results from using borrowed capital as a funding source when trading. ​
 +
 +Leverage is a double edged sword in that it magnifies both gains and losses. If a trader uses leverage to make a trade and the trade moves against the trader, their loss is much greater than it would have been if the trader had not leveraged the trade.
 +
 +BitMEX for example is a popular cryptocurrency exchange that offers leverage trading. ​
 +
 +Leverage trading, also known as margin trading, is a system which allows a trader to open positions much larger than their own capital would allow. ​
 +
 +Not all exchanges offer leverage so this setting can only be used on those exchanges that offer the ability to trade with leverage.
 +
 +** BitMEX **
 +
 +  * BitMEX offers leverage on all of its products except UP and DOWN contracts.
 +  * The amount of leverage BitMEX offers varies from product to product. ​
 +  * Leverage is determined by the [[https://​www.bitmex.com/​app/​marginTermReference|Initial Margin and Maintenance Margin]] levels. These levels specify the minimum equity you must hold in your account to enter and maintain positions. ​
 +  * Leverage is not a fixed multiplier but rather a minimum equity requirement. ​
 +  * You can see the minimum Initial Margin and Maintenance Margin levels for all products [[https://​www.bitmex.com/​app/​riskLimits#​instrument-risk-limits|here]].
 +  * The highest leverage BitMEX offers is up to 100x leverage on its Daily Bitcoin / JPY Futures Contract and the Perpetual Bitcoin / USD Perpetual Contract.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 == DEFAULT_DCA_min_buy_volume ​ == == DEFAULT_DCA_min_buy_volume ​ ==
Line 218: Line 262:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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 232: Line 276:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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 245: Line 289:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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 262: Line 306:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- click for more info}}]]
  
 Valid Values: Integers greater than or equal to 0 Valid Values: Integers greater than or equal to 0
Line 275: Line 319:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- click for more info}}]]
  
 Valid Values: Decimal Values Valid Values: Decimal Values
Line 292: Line 336:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- click for more info}}]]
  
 Valid Values: Decimal Values Valid Values: Decimal Values
Line 308: Line 352:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- click for more info}}]]
  
 Valid Values: true or false Valid Values: true or false
Line 322: Line 366:
 DEFAULT_DCA_sell_wall_orderbook_depth = 40 DEFAULT_DCA_sell_wall_orderbook_depth = 40
 </​file>​ </​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}}]]+[[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: Integer values greater than 0 Valid Values: Integer values greater than 0
Line 340: Line 384:
 DEFAULT_DCA_sell_wall_diff_percentage = 600 DEFAULT_DCA_sell_wall_diff_percentage = 600
 </​file>​ </​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}}]]+[[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 greater than 100 Valid Values: Decimal values greater than 100
Line 364: Line 408:
  
 ---- ----
-== DEFAULT_A_buy_strategy_label ​==+== DEFAULT_DCA_A_buy_strategy_label ​==
 <file java> <file java>
-DEFAULT_A_buy_strategy_label ​= RSI900+DEFAULT_DCA_A_buy_strategy_label ​= RSI900
 </​file>​ </​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}}]]+[[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: Any alphanumeric name you choose. Valid Values: Any alphanumeric name you choose.
Line 375: Line 419:
  
 //​Example://​ \\ //​Example://​ \\
-in [[indicators.properties]] we define RSI and RSI900 values+in [[indicators.properties]] ​(if pre-set for import) or the indicator [[web_interface_guide#​advanced]] tab, we define RSI and RSI900 values
  
 //​RSI_candle_period = 900 \\ //​RSI_candle_period = 900 \\
Line 383: Line 427:
 RSI900_length = 35 //\\ RSI900_length = 35 //\\
  
-In [[dca.properties]] we can now use either of these individually or both at once.+In [[dca.properties]] ​(if pre-set for import) or the DCA [[web_interface_guide#​advanced]] tab, we can now use either of these individually or both at once.
  
 //​DEFAULT_DCA_A_buy_strategy = RSI\\ //​DEFAULT_DCA_A_buy_strategy = RSI\\
Line 404: Line 448:
 DEFAULT_DCA_A_buy_strategy = LOWBB DEFAULT_DCA_A_buy_strategy = LOWBB
 </​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_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: ​LOWBBHIGHBBEMAGAIN, EMASPREAD, EMACROSS, SMAGAIN, SMASPREAD, SMACROSS, ​LOSS, STOCH, STOCHRSI, RSI, MACD, BBWIDTH, OBV, ANDERSON ​or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for more info on each setting.)+Valid Values: ​SIGNALANDERSONLOWBB, EMASPREAD, SMACROSS, ​STOCHRSID, MACD etc or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for all options and more info on each setting.)
  
 Define a strategy to be used when buying more of a coin. Define a strategy to be used when buying more of a coin.
Line 412: Line 456:
 **Notes:​**  ​ **Notes:​**  ​
   - If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C.   - If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C.
-  - The designators used do not need to be in order. e.g B and D can be used instead of A and B.  ​+  - The designators used do not need to be in order. e.g B and D can be used instead of A and B. 
 +  - If using SIGNAL either an approved external provider signal or your own TradingView signal is required. These Signals are created outside of the ProfitTrailer product, see this page for details on [[https://​wiki.profittrailer.com/​doku.php?​id=signals|how to integrate with signals]] 
 +  - Signals are not part of your ProfitTrailer product license and require a separate paid subscription to either an approved supplier'​s signals service and/or the TradingView integration service. These subscriptions are available for purchase from the [[https://​profittrailer.com/​shop/​|ProfitTrailer Shop]]. 
 + 
 +\\ 
 +[[dca.properties|TOP]] 
 +\\
  
 ---- ----
Line 441: Line 491:
 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]]
Line 477: Line 527:
 DEFAULT_DCA_A_buy_value_limit = 15 \\ DEFAULT_DCA_A_buy_value_limit = 15 \\
 The bot will only buy if RSI is between 15 and 30// The bot will only buy if RSI is between 15 and 30//
 +
 +----
 +== DEFAULT_DCA_A_buy_strategy_direction ==
 +
 +<file java>
 +DEFAULT_DCA_A_buy_strategy_direction = UP/DOWN
 +</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid Values: UP or DOWN
 +
 +Used to reverse the logic of a buy strategy in order to change when the strategy will indicate true relative to the ''​buy_value''​ used.
 +
 +//​Example:​\\
 +DEFAULT_DCA_A_buy_strategy = RSI\\
 +DEFAULT_DCA_A_buy_value = 35\\
 +The strategy will be true when the RSI value is below 35\\
 +\\
 +DEFAULT_DCA_A_buy_strategy = RSI\\
 +DEFAULT_DCA_A_buy_value = 35\\
 +DEFAULT_DCA_A_buy_strategy_direction = UP\\
 +The strategy will be true when the RSI value is above 35.//
 +
 +**Note:**
 +  - Only compatible with RSI, STOCHRSIK, STOCHRSID, STOCHRSI, BBWIDTH and STOCH.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 484: Line 563:
 DEFAULT_DCA_A_buy_on_first_signal = false DEFAULT_DCA_A_buy_on_first_signal = false
 </​file>​ </​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}}]]+[[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: true or false. ​ Valid Values: true or false. ​
Line 510: Line 589:
 **Note:** **Note:**
   - You cannot use ''​DEFAULT_DCA_trailing_buy''​ with this parameter as the two will prevent the other from working.   - You cannot use ''​DEFAULT_DCA_trailing_buy''​ with this parameter as the two will prevent the other from working.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 ---- ----
 == DEFAULT_DCA_buy_trigger ​ == == DEFAULT_DCA_buy_trigger ​ ==
Line 524: Line 608:
 Valid Values: Any positive or negative decimal values. ​ 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 or gain % required before a DCA buy can take place. All configured buy strategies must be true and you must have lost (negative values) or gain (positive values) ​at least this amount from your average bought price.
  
 **Note**: **Note**:
Line 535: Line 619:
 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 551: Line 635:
 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}}]][[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 563: Line 647:
 DEFAULT_DCA_trailing_buy_rebound_count = 1 DEFAULT_DCA_trailing_buy_rebound_count = 1
 </​file>​ </​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}}]]+[[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: Integer values equal to or greater than 0.  Valid values: Integer values equal to or greater than 0. 
Line 579: Line 663:
 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 620: Line 704:
 DEFAULT_DCA_A_sell_strategy_label = RSI900 DEFAULT_DCA_A_sell_strategy_label = RSI900
 </​file>​ </​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}}]]+[[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: Any alphanumeric name you choose. Valid Values: Any alphanumeric name you choose.
Line 637: Line 721:
 DEFAULT_DCA_A_sell_strategy = GAIN DEFAULT_DCA_A_sell_strategy = GAIN
 </​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_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: GAIN, HIGHBB, EMAGAIN, EMASPREAD, ​EMACROSS, SMAGAIN, SMASPREAD, SMACROSS, STOCH, STOCHRSI, RSI, MACD, BBWIDTH, OBV or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for more info on each setting.)+Valid Values: ​SIGNAL, ​GAIN, EMASPREAD, ​STOCHRSICROSS, RSI, BBWIDTH or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for all options and more info on each setting.)
  
 Define a strategy used to sell coins. Define a strategy used to sell coins.
Line 646: Line 730:
   - If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C.   - If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C.
   - The designators used do not need to be in order. e.g B and D can be used instead of A and B.   - The designators used do not need to be in order. e.g B and D can be used instead of A and B.
 +  - If using SIGNAL either an approved external provider signal or your own TradingView signal is required. These Signals are created outside of the ProfitTrailer product, see this page for details on [[https://​wiki.profittrailer.com/​doku.php?​id=signals|how to integrate with signals]]
 +  - Signals are not part of your ProfitTrailer product license and require a separate paid subscription to either an approved supplier'​s signals service and/or the TradingView integration service. These subscriptions are available for purchase from the [[https://​profittrailer.com/​shop/​|ProfitTrailer Shop]].
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 668: Line 758:
 DEFAULT_DCA_A_sell_value_limit =  DEFAULT_DCA_A_sell_value_limit = 
 </​file>​ </​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}}]]+[[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 numbers depending on the [[buy_and_sell_strategies|Sell Strategy]] Valid values: positive or negative decimal numbers depending on the [[buy_and_sell_strategies|Sell Strategy]]
Line 707: Line 797:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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 720: Line 810:
 DEFAULT_DCA_trailing_profit_type = GROW DEFAULT_DCA_trailing_profit_type = GROW
 </​file>​ </​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}}]]+[[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: DEFAULT, GROW, SHRINK Valid values: DEFAULT, GROW, SHRINK
Line 745: Line 835:
 DEFAULT_DCA_trailing_profit_rebound_count = 1 DEFAULT_DCA_trailing_profit_rebound_count = 1
 </​file>​ </​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}}]]+[[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: Integer values equal to or greater than 0.  Valid values: Integer values equal to or greater than 0. 
Line 761: Line 851:
 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
Line 775: Line 865:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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 788: Line 878:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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 805: Line 895:
 If the Profit is greater than 0.333% and the price does not deviate by more than 0.2% (up or down from the price at the start of the ''​wait_time''​) for 20 minutes, regardless of sell strategies being true, the bot will attempt to sell the coin.\\ If the Profit is greater than 0.333% and the price does not deviate by more than 0.2% (up or down from the price at the start of the ''​wait_time''​) for 20 minutes, regardless of sell strategies being true, the bot will attempt to sell the coin.\\
 // //
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 812: Line 906:
 DEFAULT_DCA_take_profit_reset_percentage_move = 0 DEFAULT_DCA_take_profit_reset_percentage_move = 0
 </​file>​ </​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}}]]+[[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 greater than or equal to 0. Valid Values: Decimal values greater than or equal to 0.
  
 Set the % of price deviation allowed from the ''​[[pairs.properties#​DEFAULT_DCA_take_profit_percentage]]''​ before resetting the ''​[[pairs.properties#​DEFAULT_DCA_take_profit_wait_time]]''​. If the deviation is exceeded the new price is monitored for the deviation and the ''​wait_time''​ starts again. Set to 0 to reset the ''​wait_time''​ every time the price changes. Set the % of price deviation allowed from the ''​[[pairs.properties#​DEFAULT_DCA_take_profit_percentage]]''​ before resetting the ''​[[pairs.properties#​DEFAULT_DCA_take_profit_wait_time]]''​. If the deviation is exceeded the new price is monitored for the deviation and the ''​wait_time''​ starts again. Set to 0 to reset the ''​wait_time''​ every time the price changes.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 824: Line 922:
 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}}]][[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 or equal to 0. Valid Values: Integer values greater than or equal to 0.
  
 Set the number of minutes to wait while the profit percentage is greater than ''​[[dca.properties#​DEFAULT_DCA_take_profit_percentage]]''​ before attempting to sell. Set the number of minutes to wait while the profit percentage is greater than ''​[[dca.properties#​DEFAULT_DCA_take_profit_percentage]]''​ before attempting to sell.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_DCA_take_profit_safety_arm ==
 +
 +<file java>
 +DEFAULT_DCA_take_profit_safety_arm = 0.8
 +</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid Values: Decimal values greater than or equal to 0
 +
 +Set the value which will arm the Take Profit Safety sell method. ​
 +
 +If the profit goes above ''​[[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]]''​ we flag the coin as armed.
 +Then if the profit comes back down below the ''​[[dca.properties#​DEFAULT_DCA_take_profit_safety_fire]]''​ value the bot will attempt to sell the coins.
 +
 +**Notes:**
 +  - The arm value is just a boolean (true or false). ​ Once armed it can fire at whatever the fire value is. It will stay armed if you change arm or fire values even if the new arm value is higher but it will fire at the new fire value if changed.
 +  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_DCA_take_profit_safety_fire ==
 +
 +<file java>
 +DEFAULT_DCA_take_profit_safety_fire = 0.5
 +</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid Values: Decimal values greater than or equal to 0
 +
 +Set the value which will trigger the Take Profit Safety sell method. Requires ''​[[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]]''​ to be armed.
 +
 +**Notes:**
 +  - Must be less than [[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]]
 +  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_DCA_pending_gain_percentage ==
 +
 +<file java>
 +DEFAULT_DCA_pending_gain_percentage = 2
 +</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid Values: Decimal values greater than or equal to 0
 +
 +Set the target profit percentage for pending orders. Orders will be placed on the exchange at a price that results in the set percentage of profit.
 +
 +**Note:**
 +  - Fees are taken into account.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 836: Line 1000:
 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}}]][[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 or equal to 0 Valid Values: Integer values greater or equal to 0
Line 845: Line 1009:
  
 **Note:​** ​ **Note:​** ​
-  - Coins that sell from a pending ​order are not recorded in the sales log.+  - 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.   -  ''​[[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.
  
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 855: Line 1023:
 DEFAULT_DCA_pending_order_price_drop_trigger = 10 DEFAULT_DCA_pending_order_price_drop_trigger = 10
 </​file>​ </​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}}]]+[[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. ​ Valid values: Positive or negative decimal values. ​
Line 865: Line 1033:
  
 **Notes**: ​ **Notes**: ​
-  - Coins that sell from a pending ​order are not recorded in the sales log.+  - 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.   -  ''​[[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.
  
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 +----
 == DEFAULT_DCA_combined_cancel_pending_trigger == == DEFAULT_DCA_combined_cancel_pending_trigger ==
  
Line 873: Line 1046:
 DEFAULT_DCA_combined_cancel_pending_trigger = 0 DEFAULT_DCA_combined_cancel_pending_trigger = 0
 </​file>​ </​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}}]]+[[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 value greater ​or equal to 0+Valid values: ​Positive ​or negative decimal values.
  
-Cancel pending orders for a coin if the combined profit reaches specified amount. ​+Cancel pending orders for a coin if the combined profit ​with a non-pending amount of the same coin reaches ​the specified amount. 
 + 
 +**Note:** 
 +  - Will only cancel pending orders that were created from the DCA log i.e [[dca.properties#​DEFAULT_DCA_pending_order_wait_time]] or [[dca.properties#​DEFAULT_DCA_pending_order_price_drop_trigger]]  
 + 
 +\\ 
 +[[dca.properties|TOP]] 
 +\\ 
 + 
 +---- 
 +== DEFAULT_DCA_cancel_pending_trigger == 
 + 
 +<file java> 
 +DEFAULT_DCA_cancel_pending_trigger = 0.5 
 +</​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}}]][[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. 
 + 
 +Cancel pending orders for a coin if the profit reaches the set percentage and return the coin to the DCA log. 
 + 
 +**Note:** 
 +  - Will only cancel pending orders that were created from the DCA log i.e [[dca.properties#​DEFAULT_DCA_pending_order_wait_time]] or [[dca.properties#​DEFAULT_DCA_pending_order_price_drop_trigger]] 
 + 
 +\\ 
 +[[dca.properties|TOP]] 
 +\\
  
 ---- ----
Line 891: Line 1090:
  
 Default value is true if not set. Default value is true if not set.
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 898: Line 1101:
 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 908: Line 1111:
   - Stop loss will only occur once DCA is complete unless ''​[[dca.properties#​DCA_stop_before_complete]] = true''​   - Stop loss will only occur once DCA is complete unless ''​[[dca.properties#​DCA_stop_before_complete]] = true''​
  
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 915: Line 1121:
 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific ​- 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.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_DCA_trailing_stop_loss_trigger_arm ==
 +
 +<file java>
 +DEFAULT_DCA_trailing_stop_loss_trigger_arm = 0.8
 +</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid Values: Decimal values greater than or equal to 0
 +
 +Set the value which will arm the Trailing Stop Loss sell method. ​
 +
 +If the profit goes above ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger_arm]]''​ we flag the coin as armed.
 +Then if the profit comes back down below the ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger]]''​ value the bot will attempt to sell the coins.
 +
 +**Notes:**
 +  - The arm value is just a boolean (true or false). ​ Once armed it can fire at whatever the stop loss value is. It will stay armed if you change arm or stop loss values even if the new arm value is higher but it will sell at the new stop loss value if changed.
 +  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
 +
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_DCA_trailing_stop_loss_trigger ==
 +
 +<file java>
 +DEFAULT_DCA_trailing_stop_loss_trigger = -3
 +</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]
 +
 +Valid values: Decimal value less than 0.
 +
 +Set the percentage that ProfitTrailer will trail below the highest profit percentage reached in order to trigger a stop loss order.
 +
 +If the value of a coin drops below stop loss line, it will be automatically sold, potentially FOR A LOSS. Use carefully. Research Stop Loss from a financial website before using it.  ​
 +
 +**Notes:​** ​
 +  - trailing stop loss must be armed using ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger_arm]]''​ before it will be activated
 +  - Stop loss will only occur once DCA is complete unless ''​[[dca.properties#​DCA_stop_before_complete]] = true''​
 +  - DEFAULT_DCA_trailing_stop_loss_trigger will only stop loss coins in the DCA log. Coins in PAIRS log are handled by ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger]]''​
 +
 +\\
 +[[dca.properties|TOP]]
 +\\
  
 ---- ----
Line 927: Line 1184:
 DCA_stop_before_complete = false DCA_stop_before_complete = false
 </​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
Line 962: Line 1219:
 [[dca.properties|TOP]] [[dca.properties|TOP]]
 \\ \\
 +
 ---- ----
  
  • dca.properties.1535583774.txt.gz
  • Last modified: 6 months ago
  • by sgtbatten