There are two attributes which have to be set for the required effect.
DEFAULT_take_profit_safety_arm
sets the value which will arm the Take Profit Safety sell method. If the profit goes above this value, we flag the coin as armed.
DEFAULT_take_profit_safety_fire
sets the value which will trigger the Take Profit Safety sell method. If the profit comes back down below this value the bot will attempt to sell the coins.
DEFAULT_DCA_take_profit_safety_arm
sets the value which will arm the Take Profit Safety sell method. If the profit goes above this value, we flag the coin as armed.
DEFAULT_DCA_take_profit_safety_fire
sets the value which will trigger the Take Profit Safety sell method. If the profit comes back down below this value the bot will attempt to sell the coins.
Both arm and fire values can be decimal values greater than or equal to 0.
DEFAULT_take_profit_safety_arm = 0.8
DEFAULT_take_profit_safety_fire = 0.5
DEFAULT_DCA_take_profit_safety_arm = 0.8
DEFAULT_DCA_take_profit_safety_fire = 0.5
- 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.
- Fire value Must be less than arm value
- See A trailing Story for more information.