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
pairs.properties [2019/03/12 22:00]
sgtbatten [SELL SETTINGS] cancel pending trigger needs to be negative
pairs.properties [2019/05/22 14:17] (current)
armchairguru
Line 25: Line 25:
 ---- ----
  
-==== Example ​PAIRS Config ​====+==== PAIRS Settings ​====
 Click to view the documentation on each parameter.\\ Click to view the documentation on each parameter.\\
  
Line 36: Line 36:
 [[pairs.properties#​DEFAULT_combine_pending_orders]] = false\\ [[pairs.properties#​DEFAULT_combine_pending_orders]] = false\\
  
-[[pairs.properties#​start_balance]] = 0.2\\ 
 [[pairs.properties#​keep_balance]] = 0.0\\ [[pairs.properties#​keep_balance]] = 0.0\\
 [[pairs.properties#​keep_balance_percentage]] = 0\\ [[pairs.properties#​keep_balance_percentage]] = 0\\
Line 49: Line 48:
 [[pairs.properties#​DEFAULT_max_buy_spread]] = 1\\ [[pairs.properties#​DEFAULT_max_buy_spread]] = 1\\
 [[pairs.properties#​DEFAULT_min_orderbook_volume_percentage]] = 120\\ [[pairs.properties#​DEFAULT_min_orderbook_volume_percentage]] = 120\\
 +[[pairs.properties#​DEFAULT_min_orderbook_price_slippage_percentage]] = 0.5\\
  
 [[pairs.properties#​DEFAULT_rebuy_timeout]] = 15\\ [[pairs.properties#​DEFAULT_rebuy_timeout]] = 15\\
Line 65: Line 65:
 [[pairs.properties#​DEFAULT_A_buy_strategy_direction]] = \\ [[pairs.properties#​DEFAULT_A_buy_strategy_direction]] = \\
 [[pairs.properties#​DEFAULT_A_buy_on_first_signal]] = false\\ [[pairs.properties#​DEFAULT_A_buy_on_first_signal]] = false\\
 +[[pairs.properties#​DEFAULT_buy_strategy_formula]] = \\
  
 [[pairs.properties#​DEFAULT_A_buy_strategy|DEFAULT_B_buy_strategy]] = RSI\\ [[pairs.properties#​DEFAULT_A_buy_strategy|DEFAULT_B_buy_strategy]] = RSI\\
Line 72: Line 73:
 [[pairs.properties#​DEFAULT_trailing_buy]] = 0.25\\ [[pairs.properties#​DEFAULT_trailing_buy]] = 0.25\\
 [[pairs.properties#​DEFAULT_trailing_buy_rebound_count]] = 0 \\ [[pairs.properties#​DEFAULT_trailing_buy_rebound_count]] = 0 \\
 +[[pairs.properties#​DEFAULT_trailing_buy_reset_with_strategies]] = false\\
  
 <​file>#​SELL SETTINGS#</​file>​ <​file>#​SELL SETTINGS#</​file>​
Line 78: Line 80:
 [[pairs.properties#​DEFAULT_A_sell_value]] = 1.0\\ [[pairs.properties#​DEFAULT_A_sell_value]] = 1.0\\
 [[pairs.properties#​DEFAULT_A_sell_value_limit]] = \\ [[pairs.properties#​DEFAULT_A_sell_value_limit]] = \\
 +[[pairs.properties#​DEFAULT_sell_strategy_formula]] = \\
  
 [[pairs.properties#​DEFAULT_trailing_profit]] = 0.35\\ [[pairs.properties#​DEFAULT_trailing_profit]] = 0.35\\
Line 140: Line 143:
   - XBT is the only valid market on Bitmex   - XBT is the only valid market on Bitmex
   - BNB is valid on Binance only. NEO AND KCS are valid on Kucoin only. XMR is valid on Poloniex only.   - BNB is valid on Binance only. NEO AND KCS are valid on Kucoin only. XMR is valid on Poloniex only.
 +
 +[[pairs.properties|TOP]]
  
 ---- ----
Line 159: Line 164:
  
 **Bitmex**: On Bitmex you need to specify the contract name. **Bitmex**: On Bitmex you need to specify the contract name.
 +
 +[[pairs.properties|TOP]]
  
 ---- ----
Line 170: Line 177:
  
 Enable trading (buying and selling) using your defined strategies for all coins. If trading_enabled = false your existing pairs will be displayed in **WATCHMODE** unless hidden. Enable trading (buying and selling) using your defined strategies for all coins. If trading_enabled = false your existing pairs will be displayed in **WATCHMODE** unless hidden.
 +
 +[[pairs.properties|TOP]]
  
 ---- ----
Line 189: Line 198:
  
 Specifying a list of coins will hide all coins in the list that are not enabled for trading. Specifying a list of coins will hide all coins in the list that are not enabled for trading.
 +
 +[[pairs.properties|TOP]]
  
 ---- ----
Line 217: Line 228:
 The coin will NOT go back into the pairs log if it has been DCA'd 1 or more times regardless of the profit margin. The coin will NOT go back into the pairs log if it has been DCA'd 1 or more times regardless of the profit margin.
  
----- +[[pairs.properties|TOP]]
-== start_balance == +
-<file java> +
-start_balance = 0.14 +
-</​file>​ +
-Valid values: Decimal value greater than or equal to 0. +
- +
-This value is also used for paper trading when the bot is in test_mode so you can have a larger or smaller balance to paper trade with if you wish.+
  
 ---- ----
Line 240: Line 244:
   - This only stops ProfitTrailer buying new coins, it does not stop DCA purchases. There is an equivalent setting in dca.properties for this.   - This only stops ProfitTrailer buying new coins, it does not stop DCA purchases. There is an equivalent setting in dca.properties for this.
   - This setting will impact ''​[[pairs.properties#​DEFAULT_initial_cost_percentage]]''​ if used   - This setting will impact ''​[[pairs.properties#​DEFAULT_initial_cost_percentage]]''​ if used
 +
 +[[pairs.properties|TOP]]
  
 ---- ----
 == keep_balance_percentage == == keep_balance_percentage ==
- 
 <file java> <file java>
 keep_balance_percentage = 60 keep_balance_percentage = 60
Line 260: Line 265:
   - This setting will impact ''​[[pairs.properties#​DEFAULT_initial_cost_percentage]]''​ if used   - This setting will impact ''​[[pairs.properties#​DEFAULT_initial_cost_percentage]]''​ if used
  
 +[[pairs.properties|TOP]]
  
-\\ 
-[[pairs.properties|TOP]] 
-\\ 
 ---- ----
  
Line 282: Line 285:
 0 will allow unlimited coins (not recommended) 0 will allow unlimited coins (not recommended)
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_initial_cost == == DEFAULT_initial_cost ==
- 
 <file java> <file java>
 DEFAULT_initial_cost = 0.0012 DEFAULT_initial_cost = 0.0012
Line 330: Line 330:
 HT =  \\ HT =  \\
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_initial_cost_percentage == == DEFAULT_initial_cost_percentage ==
- 
 <file java> <file java>
 DEFAULT_initial_cost_percentage = 2 DEFAULT_initial_cost_percentage = 2
Line 350: Line 347:
   * If you use ''​[[pairs.properties#​keep_balance]]''​ or ''​[[pairs.properties#​keep_balance_percentage]]''​ the balance used to calculate ''​[[pairs.properties#​initial_cost_percentage]]''​ does not include the reserved amount. e.g Balance = 1 BTC, ''​keep_balance''​ = 0.5 BTC, ''​initial_cost_percentage''​ of 1% will equal 0.005 BTC not 0.01 BTC.   * If you use ''​[[pairs.properties#​keep_balance]]''​ or ''​[[pairs.properties#​keep_balance_percentage]]''​ the balance used to calculate ''​[[pairs.properties#​initial_cost_percentage]]''​ does not include the reserved amount. e.g Balance = 1 BTC, ''​keep_balance''​ = 0.5 BTC, ''​initial_cost_percentage''​ of 1% will equal 0.005 BTC not 0.01 BTC.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
- 
 == DEFAULT_buy_leverage == == DEFAULT_buy_leverage ==
- 
 <file java> <file java>
 DEFAULT_buy_leverage = 2 DEFAULT_buy_leverage = 2
Line 388: Line 381:
   * The highest leverage BitMEX offers is up to 100x leverage on its Daily Bitcoin / JPY Futures Contract and the Perpetual Bitcoin / USD Perpetual Contract.   * The highest leverage BitMEX offers is up to 100x leverage on its Daily Bitcoin / JPY Futures Contract and the Perpetual Bitcoin / USD Perpetual Contract.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_min_buy_volume == == DEFAULT_min_buy_volume ==
- 
 <file java> <file java>
 DEFAULT_min_buy_volume = 500 DEFAULT_min_buy_volume = 500
Line 406: Line 396:
 It is more risky to trade low volume coins because it is more difficult to sell them quickly or buy them quickly due to less available trading partners, which can negatively impact the price. ​   It is more risky to trade low volume coins because it is more difficult to sell them quickly or buy them quickly due to less available trading partners, which can negatively impact the price. ​  
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_min_buy_price == == DEFAULT_min_buy_price ==
- 
 <file java> <file java>
 DEFAULT_min_buy_price = 0.00000500 DEFAULT_min_buy_price = 0.00000500
Line 422: Line 409:
 Set to ignore low value coins. ProfitTrailer will not consider any coin worth less than the set value in the market currency. Set to ignore low value coins. ProfitTrailer will not consider any coin worth less than the set value in the market currency.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_max_buy_spread == == DEFAULT_max_buy_spread ==
- 
 <file java> <file java>
 DEFAULT_max_buy_spread = 1.0 DEFAULT_max_buy_spread = 1.0
Line 438: Line 422:
 Ignore coins where the spread % between lowest ask and highest bid orders exceeds the set value. If spread is too big, most likely there was a coin dump/pump and you are buying too high.  A value of 2 is mildly conservative. 1 is more conservative. 3 would be more aggressive. Ignore coins where the spread % between lowest ask and highest bid orders exceeds the set value. If spread is too big, most likely there was a coin dump/pump and you are buying too high.  A value of 2 is mildly conservative. 1 is more conservative. 3 would be more aggressive.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_min_orderbook_volume_percentage == == DEFAULT_min_orderbook_volume_percentage ==
- 
 <file java> <file java>
 DEFAULT_min_orderbook_volume_percentage = 150 DEFAULT_min_orderbook_volume_percentage = 150
Line 459: Line 440:
   - Avoid using less than 100 unless your [[pairs.properties#​DEFAULT_initial_cost]] is well above dust levels.   - Avoid using less than 100 unless your [[pairs.properties#​DEFAULT_initial_cost]] is well above dust levels.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
 +
 +----
 +== DEFAULT_min_orderbook_price_slippage_percentage ==
 +<file java>
 +DEFAULT_min_orderbook_price_slippage_percentage = 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}}]]
 +
 +Valid values: Decimal Values greater than or equal to 0. Default is 0
 +
 +Set the percentage of price slippage allowed when ProfitTrailer is looking to buy a coin.
 +
 +//EXAMPLE\\
 +We want to buy 80 coins\\
 +
 +DEFAULT_min_orderbook_price_slippage_percentage = 0.5\\
 \\ \\
 +THE ORDERBOOK\\
 +price              -- amount \\
 +0.00100 ​           --     50 \\
 +0.001001 ​          ​-- ​    ​75 ​ \\
 +\\
 +0.00100 + 0.5% = 0.001005\\
 +\\
 +There are not enough coins available at 0.00100. ProfitTrailer will now check how many coins are available at a price of LESS than 0.001005\\
 +There are 125. And that is enough. ​ \\
 +ProfitTrailer will place a buy order at the limit price of 0.001005 and it would buy the 50 at 0.00100 + the other 30 at 0.001001//​\\
 +
 +[[pairs.properties|TOP]]
  
 ---- ----
 == DEFAULT_rebuy_timeout == == DEFAULT_rebuy_timeout ==
- 
 <file java> <file java>
 DEFAULT_rebuy_timeout = 5 DEFAULT_rebuy_timeout = 5
Line 476: Line 483:
 ex: We just sold ETH so do NOT buy ETH again for x minutes after we sold it ex: We just sold ETH so do NOT buy ETH again for x minutes after we sold it
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_buy_min_change_percentage == == DEFAULT_buy_min_change_percentage ==
- 
 <file java> <file java>
 DEFAULT_buy_min_change_percentage = 0 DEFAULT_buy_min_change_percentage = 0
Line 496: Line 500:
 DEFAULT_buy_min_change_percentage = -2 --> Only buy a coin if the 24 hour change is above -2%// DEFAULT_buy_min_change_percentage = -2 --> Only buy a coin if the 24 hour change is above -2%//
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_buy_max_change_percentage == == DEFAULT_buy_max_change_percentage ==
- 
 <file java> <file java>
 DEFAULT_buy_max_change_percentage = 0 DEFAULT_buy_max_change_percentage = 0
Line 516: Line 517:
 DEFAULT_buy_max_change_percentage = -1 --> Only buy a coin if the 24 hour change is below -1%// DEFAULT_buy_max_change_percentage = -1 --> Only buy a coin if the 24 hour change is below -1%//
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == pair_min_listed_days == == pair_min_listed_days ==
- 
 <file java> <file java>
 pair_min_listed_days = 0 pair_min_listed_days = 0
Line 537: Line 535:
  
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 555: Line 551:
   - Used with ''​[[pairs.properties#​DEFAULT_sell_wall_diff_percentage]]''​   - Used with ''​[[pairs.properties#​DEFAULT_sell_wall_diff_percentage]]''​
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 579: Line 573:
   - Used with ''​[[pairs.properties#​DEFAULT_sell_wall_orderbook_depth]]''​   - Used with ''​[[pairs.properties#​DEFAULT_sell_wall_orderbook_depth]]''​
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 600: Line 592:
  
 //​Example://​ \\ //​Example://​ \\
-in [[indicators.properties]] ​(if pre-set for import) or the indicator ​[[web_interface_guide#​advanced]] tab, we define SMACROSS and SMASLOWCROSS values+In [[indicators.properties|Indicators Config]] using the [[web_interface_guide#​advanced]] ​config ​tab, we define SMACROSS and SMASLOWCROSS values
  
 //​SMA_cross_candles = 2 \\ //​SMA_cross_candles = 2 \\
Line 612: Line 604:
 SMASLOWCROSS_slow_length = 200 //\\ SMASLOWCROSS_slow_length = 200 //\\
  
-In [[pairs.properties]] ​(if pre-set for import) or the pairs [[web_interface_guide#​advanced]] tab, we can now use either of these individually or both at once.+In [[pairs.properties|Pairs Config]] we can now use either of these individually or both at once.
  
 //​DEFAULT_A_buy_strategy = SMACROSS \\ //​DEFAULT_A_buy_strategy = SMACROSS \\
Line 623: Line 615:
 **Note:** **Note:**
   - The label can be anything alphanumeric. 1337SUPERDUPER420 will work   - The label can be anything alphanumeric. 1337SUPERDUPER420 will work
 +  - labels used with SIGNAL need to be sent from your TV script or your Provider
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
- 
 == DEFAULT_A_buy_strategy == == DEFAULT_A_buy_strategy ==
- 
 <file java> <file java>
 DEFAULT_A_buy_strategy = LOWBB DEFAULT_A_buy_strategy = LOWBB
Line 642: Line 631:
  
 **Notes:​**  ​ **Notes:​**  ​
-  - If using multiple strategies the logic requires all to be true (A AND B AND C) unless ''​[[pairs.properties#​DEFAULT_A_buy_on_first_signal]] = true''​+  - If using multiple strategies the logic requires all to be true (A AND B AND C) unless ''​[[pairs.properties#​DEFAULT_A_buy_on_first_signal]] = true'' ​or unless [[pairs.properties#​default_buy_strategy_formula]] is used; if used then the formula decides the logic triggers.
   - 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]]   - 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]].   - 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]].
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_A_buy_value == == DEFAULT_A_buy_value ==
- 
 <file java> <file java>
 DEFAULT_A_buy_value = 0 DEFAULT_A_buy_value = 0
Line 667: Line 653:
 Remember this is just the buy "​signal"​ if you are using trailing. Trailing will follow the price down further and therefore may not buy immediately. See ''​[[pairs.properties#​DEFAULT_trailing_buy]]''​ below. ​ Remember this is just the buy "​signal"​ if you are using trailing. Trailing will follow the price down further and therefore may not buy immediately. See ''​[[pairs.properties#​DEFAULT_trailing_buy]]''​ below. ​
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_A_buy_value_limit == == DEFAULT_A_buy_value_limit ==
- 
 <file java> <file java>
 DEFAULT_A_buy_value_limit = 0 DEFAULT_A_buy_value_limit = 0
Line 710: Line 693:
 The bot will only buy if RSI is between 15 and 30// The bot will only buy if RSI is between 15 and 30//
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_A_buy_strategy_direction == == DEFAULT_A_buy_strategy_direction ==
- 
 <file java> <file java>
 DEFAULT_A_buy_strategy_direction = UP/DOWN DEFAULT_A_buy_strategy_direction = UP/DOWN
Line 737: Line 717:
  
 **Note:** **Note:**
-  - Only compatible with RSI, STOCHRSIK, STOCHRSID, STOCHRSI, BBWIDTH and STOCH.+  - Only compatible with RSI, STOCHRSIK, STOCHRSID, BBWIDTH and STOCH.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\+
 ---- ----
 == DEFAULT_A_buy_on_first_signal == == DEFAULT_A_buy_on_first_signal ==
 +**This is not the same as receiving a signal from a signal provider, do not confuse the two!**
  
 <file java> <file java>
Line 775: Line 755:
   - You cannot use ''​DEFAULT_trailing_buy''​ with this parameter as the two will prevent the other from working.   - You cannot use ''​DEFAULT_trailing_buy''​ with this parameter as the two will prevent the other from working.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\+
 ---- ----
-== DEFAULT_trailing_buy ​==+== DEFAULT_buy_strategy_formula ​== 
 +<file java> 
 +DEFAULT_buy_strategy_formula = 
 +</​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 valid set of properly formatted strategies using javascript operators; examples below.
 +
 +**Note:**
 +  - Formatted strings follow the order of operations and uses AND ( && ), OR ( || ), NOT ( ! ).
 +  - You must use parenthesis to delimit what you want to add together, i.e.- you cannot use A && B || C because the bot will not know whether you want to use A and B together OR C .. or whether you want to use A ....and B OR C.
 +
 +**Example:​**
 +<file java>​DEFAULT_buy_strategy_formula = (A && B) || C</​file>​
 +Will look for either: A and B strategies to be TRUE , OR for the C strategy to be TRUE.
 +
 +<file java>​DEFAULT_buy_strategy_formula = A || B</​file>​
 +Will look for either: A OR B strategies to be true.
 +
 +<file java>​DEFAULT_buy_strategy_formula = A || (B && C)</​file>​
 +Will look for either: A strategy to be TRUE , OR for the B and C strategies to be TRUE.
 +
 +[[pairs.properties|TOP]]
 +
 +----
 +== DEFAULT_trailing_buy ==
 <file java> <file java>
 DEFAULT_trailing_buy = 0.3 DEFAULT_trailing_buy = 0.3
Line 786: Line 789:
 [[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}}]]
  
-Valid values: Decimal value equal to or greater than 0. +Valid values: Decimal value greater than 0.\\ 
 +Zero disables this setting.
  
 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. More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]]. 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. More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
- 
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_trailing_buy_rebound_count== == DEFAULT_trailing_buy_rebound_count==
- 
 <file java> <file java>
 DEFAULT_trailing_buy_rebound_count = 1 DEFAULT_trailing_buy_rebound_count = 1
Line 811: Line 811:
 More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]]. More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\+
 ---- ----
 +== DEFAULT_trailing_buy_reset_with_strategies ==
 +<file java>
 +DEFAULT_trailing_buy_reset_with_strategies = 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 or false , default is false.\\
 +
 +If set to True, trailing will reset (stop trailing) if your strategies are not TRUE anymore and ready to buy.\\
 +If set to false, trailing will continue based on price at trail start and ignore strategy indicators.\\
 +
 +Using this property will stop [[pairs.properties#​default_trailing_buy]] if ANY of your current strategies change from being true.
 +
 +[[pairs.properties|TOP]]
 +
 +----
  
 ==== SELL SETTINGS ==== ==== SELL SETTINGS ====
 More than one sell strategy can be used at the same time. To define more than one sell strategy replace A with B, C, D or E. e.g ''​DEFAULT_B_sell_strategy''​. You must set all relevant B settings for the second (or third, forth, fifth) strategy to be valid. More than one sell strategy can be used at the same time. To define more than one sell strategy replace A with B, C, D or E. e.g ''​DEFAULT_B_sell_strategy''​. You must set all relevant B settings for the second (or third, forth, fifth) strategy to be valid.
  
-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+If you wish to specify a minimum percentage at which the coin will sell, you must use GAIN as one of your sell strategies.
  
 ---- ----
Line 838: Line 852:
   - The label can be anything alphanumeric. 1337SUPERDUPER420 will work   - The label can be anything alphanumeric. 1337SUPERDUPER420 will work
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_A_sell_strategy == == DEFAULT_A_sell_strategy ==
- 
 <file java> <file java>
 DEFAULT_A_sell_strategy = GAIN DEFAULT_A_sell_strategy = GAIN
Line 855: Line 866:
  
 **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, unless [[pairs.properties#​default_sell_strategy_formula]] is used; if it is then the formula decides the trigger logic.
   - 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]]   - 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]].   - 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]].
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_A_sell_value == == DEFAULT_A_sell_value ==
- 
 <file java> <file java>
 DEFAULT_A_sell_value = 1 DEFAULT_A_sell_value = 1
Line 879: Line 887:
   - If you are using trailing, the bot will follow the price up further and therefore may not sell immediately. See ''​[[pairs.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 ''​[[pairs.properties#​DEFAULT_trailing_profit]]''​ below.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 921: Line 927:
 The bot will only sell if RSI is between 15 and 30// The bot will only sell if RSI is between 15 and 30//
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 +== DEFAULT_sell_strategy_formula ==
 +<file java>
 +DEFAULT_sell_strategy_formula =
 +</​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}}]]
  
-== DEFAULT_trailing_profit ==+Valid values: Any valid set of properly formatted strategies using javascript operators; examples below.
  
 +**Note:**
 +  - Formatted strings follow the order of operations and uses AND ( && ), OR ( || ), NOT ( ! ).
 +  - You must use parenthesis to delimit what you want to add together, i.e.- you cannot use A && B || C because the bot will not know whether you want to use A and B together OR C .. or whether you want to use A ....and B OR C.
 +
 +**Example:​**
 +<file java>​DEFAULT_sell_strategy_formula = (A && B) || C</​file>​
 +Will look for either: A and B strategies to be TRUE , OR for the C strategy to be TRUE.
 +
 +<file java>​DEFAULT_sell_strategy_formula = A || B</​file>​
 +Will look for either: A OR B strategies to be true.
 +
 +<file java>​DEFAULT_sell_strategy_formula = A || B || (C && D)</​file>​
 +Will look for either: A strategy to be TRUE , OR for the B strategy to be TRUE, OR for the C AND D strategies to be TRUE.
 +
 +[[pairs.properties|TOP]]
 +
 +----
 +== DEFAULT_trailing_profit ==
 <file java> <file java>
 DEFAULT_trailing_profit = 0.5 DEFAULT_trailing_profit = 0.5
Line 938: Line 965:
 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]]. 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]].
  
-\\+**NOTES:​** 
 +  - ''​[[pairs.properties#​DEFAULT_take_profit_wait_time|DEFAULT_take_profit]]''​ and ''​[[pairs.properties#​DEFAULT_max_profit]]''​ can trigger a sell without trailing. 
 +  - If GAIN is NOT used as a sell strategy, then you cannot use DEFAULT_trailing_profit settings. 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 968: Line 997:
   - Using DEFAULT will not alter the ''​trailing_profit''​ value at all.   - Using DEFAULT will not alter the ''​trailing_profit''​ value at all.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_trailing_profit_rebound_count== == DEFAULT_trailing_profit_rebound_count==
- 
 <file java> <file java>
 DEFAULT_trailing_profit_rebound_count = 1 DEFAULT_trailing_profit_rebound_count = 1
Line 988: Line 1014:
 More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]]. More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == orderbook_profit_calculation == == orderbook_profit_calculation ==
- 
 <file java> <file java>
 orderbook_profit_calculation = true orderbook_profit_calculation = true
Line 1006: Line 1029:
 Both percentages will be displayed in the Profit % column in the [[web_interface_guide|Pairs Log]]. The volume corrected profit % is displayed beneath the standard profit % only when SSV is greater than 0. Both percentages will be displayed in the Profit % column in the [[web_interface_guide|Pairs Log]]. The volume corrected profit % is displayed beneath the standard profit % only when SSV is greater than 0.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_max_profit == == DEFAULT_max_profit ==
- 
 <file java> <file java>
 DEFAULT_max_profit = 15 DEFAULT_max_profit = 15
Line 1022: Line 1042:
 Use the value to instruct the bot to sell the coin if the profit reaches the set percentage regardless of all sell strategies being true. Set to 0 to disable Use the value to instruct the bot to sell the coin if the profit reaches the set percentage regardless of all sell strategies being true. Set to 0 to disable
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_take_profit_percentage == == DEFAULT_take_profit_percentage ==
- 
 <file java> <file java>
 DEFAULT_take_profit_percentage = 0  DEFAULT_take_profit_percentage = 0 
Line 1050: Line 1067:
 // //
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_take_profit_reset_percentage_move == == DEFAULT_take_profit_reset_percentage_move ==
- 
 <file java> <file java>
 DEFAULT_take_profit_reset_percentage_move = 0 DEFAULT_take_profit_reset_percentage_move = 0
Line 1067: Line 1081:
  
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\+
 ---- ----
 == DEFAULT_take_profit_wait_time == == DEFAULT_take_profit_wait_time ==
- 
 <file java> <file java>
 DEFAULT_take_profit_wait_time = 0 DEFAULT_take_profit_wait_time = 0
Line 1085: Line 1097:
   - If ''​[[pairs.properties#​DEFAULT_take_profit_reset_percentage_move]]''​ is 0 or not set the ''​wait_time''​ will reset on every price change.   - If ''​[[pairs.properties#​DEFAULT_take_profit_reset_percentage_move]]''​ is 0 or not set the ''​wait_time''​ will reset on every price change.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_take_profit_safety_arm == == DEFAULT_take_profit_safety_arm ==
- 
 <file java> <file java>
 DEFAULT_take_profit_safety_arm = 0.8 DEFAULT_take_profit_safety_arm = 0.8
Line 1108: Line 1117:
   - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.   - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\+
 ---- ----
 == DEFAULT_take_profit_safety_fire == == DEFAULT_take_profit_safety_fire ==
- 
 <file java> <file java>
 DEFAULT_take_profit_safety_fire = 0.5 DEFAULT_take_profit_safety_fire = 0.5
Line 1127: Line 1134:
   - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.   - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_pending_gain_percentage == == DEFAULT_pending_gain_percentage ==
- 
 <file java> <file java>
 DEFAULT_pending_gain_percentage = 2 DEFAULT_pending_gain_percentage = 2
Line 1141: Line 1145:
 Valid Values: Decimal values greater than or equal to 0 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.+Set the target profit percentage for pending orders. ​If pending orders are used the orders ​will be placed on the exchange at a price that results in the set percentage of profit.
  
-**Note:**+**Notes:**
   - Fees are taken into account.   - Fees are taken into account.
 +  - If not set, a GAIN sell strategy [[pairs.properties#​default_a_sell_value|sell_value]] percentage can be used for the calculation instead
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_pending_order_wait_time == == DEFAULT_pending_order_wait_time ==
- 
 <file java> <file java>
 DEFAULT_pending_order_wait_time = 360 DEFAULT_pending_order_wait_time = 360
Line 1160: Line 1162:
 Valid values: Integer values greater or equal to 0 Valid values: Integer values greater or equal to 0
  
-If x amount of time in minutes has passed since we bought a coin and we have not sold it, create limit sell order for that pair at a price equivalent to your GAIN strategy ​''​[[pairs.properties#​Default_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.+If x amount of time in minutes has passed since we bought a coin and we have not sold it, create limit sell order for that pair at a price determined by ''​[[pairs.properties#​DEFAULT_pending_gain_percentage]]''​. This places the coin in the [[web_interface_guide#​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 Comb Profit % in the Pending Log. Combined Profit takes the pending order and any additional coins into account and gives the overall position for that pair. +**Note**: 
- +
-**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.   - 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.
-  -  ''​[[pairs.properties#​DEFAULT_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. 
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_pending_order_price_drop_trigger == == DEFAULT_pending_order_price_drop_trigger ==
- 
 <file java> <file java>
 DEFAULT_pending_order_price_drop_trigger = -10 DEFAULT_pending_order_price_drop_trigger = -10
Line 1183: Line 1179:
 (1 and -1 are equal.) (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 still in the pairs log), create limit sell order for that pair at a price equivalent to your GAIN strategy ​''​[[pairs.properties#​Default_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.+If the price has dropped x% since we bought a coin and we have not sold it (and it's still in the pairs log), create limit sell order for that pair at a price determined by ''​[[pairs.properties#​DEFAULT_pending_gain_percentage]]''​. This places the coin in the [[web_interface_guide#​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. +**Note**: 
- +
-**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.   - 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.
-  -  ''​[[pairs.properties#​DEFAULT_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. 
  
-\\+
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_combined_cancel_pending_trigger == == DEFAULT_combined_cancel_pending_trigger ==
- 
 <file java> <file java>
 DEFAULT_combined_cancel_pending_trigger = 0 DEFAULT_combined_cancel_pending_trigger = 0
Line 1208: Line 1199:
  
 **Note:** **Note:**
-  - (As of version 2.2) Will only cancel pending orders that were created from the pairs log i.[[pairs.properties#​DEFAULT_pending_order_wait_time]] or [[pairs.properties#DEFAULT_pending_order_price_drop_trigger]]+  - Will only cancel pending orders that Pairs logic is being applied toSee [[FAQ#Which will my bot use?]]
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_cancel_pending_trigger == == DEFAULT_cancel_pending_trigger ==
- 
 <file java> <file java>
-DEFAULT_cancel_pending_trigger = -0.5+DEFAULT_cancel_pending_trigger = 0.5
 </​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}}]]
  
-Valid Values: Negative decimal values.+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 PAIRS log as applicable. ​We use negative values due to the way pending profit is displayed. 0% is where the pending order will otherwise sell.+Cancel pending orders for a coin if the profit reaches the set percentage and return the coin to the PAIRS log as applicable. ​In order for this to cancel an existing ​pending order before it sells the value set must be less than the ''​[[pairs.properties#​DEFAULT_pending_gain_percentage]]''​.
  
 **Note:** **Note:**
-  - Will only cancel pending orders that were created from the pairs log i.[[pairs.properties#​DEFAULT_pending_order_wait_time]] or [[pairs.properties#DEFAULT_pending_order_price_drop_trigger]]+  - Will only cancel pending orders that Pairs logic is being applied toSee [[FAQ#Which will my bot use?]]
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 1246: Line 1232:
 Default value is true if not set. Default value is true if not set.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_stop_loss_trigger == == DEFAULT_stop_loss_trigger ==
- 
 <file java> <file java>
 DEFAULT_stop_loss_trigger = -10 DEFAULT_stop_loss_trigger = -10
Line 1258: Line 1241:
 [[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_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 value less or equal to 0. +Valid values: Decimal value less than 0. Set to 0 to disable.
  
 Set the value that will trigger a stop loss order. Set the value that will trigger a stop loss order.
Line 1268: Line 1251:
   - DEFAULT_stop_loss_trigger will only sell coins in the pairs log. Coins in DCA log are handled by ''​[[dca.properties#​DEFAULT_DCA_stop_loss_trigger]]''​   - DEFAULT_stop_loss_trigger will only sell coins in the pairs log. Coins in DCA log are handled by ''​[[dca.properties#​DEFAULT_DCA_stop_loss_trigger]]''​
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_stop_loss_timeout == == DEFAULT_stop_loss_timeout ==
- 
 <file java> <file java>
 DEFAULT_stop_loss_timeout = 5 DEFAULT_stop_loss_timeout = 5
Line 1284: Line 1264:
 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
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_trailing_stop_loss_trigger_arm == == DEFAULT_trailing_stop_loss_trigger_arm ==
- 
 <file java> <file java>
 DEFAULT_trailing_stop_loss_trigger_arm = 0.8 DEFAULT_trailing_stop_loss_trigger_arm = 0.8
Line 1298: Line 1275:
 Valid Values: Decimal values greater than or equal to 0 Valid Values: Decimal values greater than or equal to 0
  
-Set the value which will arm the Trailing Stop Loss sell method. ​+Set the value which will arm the Trailing Stop Loss sell method. If arm is not set, Trailing Stop Loss is armed automatically.
  
-If the profit goes above ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]]''​ we flag the coin as armed. +If the profit goes above ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]]''​ we flag the coin as armed. ​Once armed, ​if the profit% falls and meets the condition set in ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger]]''​ the bot will attempt to sell the coins.
-Then if the profit ​comes back down below the ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger]]'' ​value the bot will attempt to sell the coins.+
  
 **Notes:** **Notes:**
Line 1307: Line 1283:
   - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.   - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_trailing_stop_loss_trigger == == DEFAULT_trailing_stop_loss_trigger ==
- 
 <file java> <file java>
 DEFAULT_trailing_stop_loss_trigger = -3 DEFAULT_trailing_stop_loss_trigger = -3
Line 1319: Line 1292:
 [[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_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 value less than 0.+Valid values: Decimal value less than 0. Set to 0 to disable.
  
 Set the percentage that ProfitTrailer will trail below the highest profit percentage reached in order to trigger a stop loss order. 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.  ​+If the price of a coin falls by at least the trigger %, it will be automatically sold, potentially FOR A LOSS. Use carefully. Research Stop Loss from a financial website before using it.  ​
  
 **Notes:​** ​ **Notes:​** ​
-  - trailing stop loss must be armed using ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]]'' ​before it will be activated+  - If ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]]'' ​is used, trailing stop loss will not be active until profit % reaches the arm value. 
 +  - Trailing stop loss works independently of the sell strategies in use.
   - DEFAULT_trailing_stop_loss_trigger will only stop loss coins in the pairs log. Coins in DCA log are handled by ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger]]''​   - DEFAULT_trailing_stop_loss_trigger will only stop loss coins in the pairs log. Coins in DCA log are handled by ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger]]''​
 +  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == DEFAULT_panic_sell_enabled == == DEFAULT_panic_sell_enabled ==
- 
 <file java> <file java>
 DEFAULT_panic_sell_enabled = false DEFAULT_panic_sell_enabled = false
Line 1349: Line 1321:
  
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\+
 ---- ----
 +
 ==== SELL ONLY MODE SETTINGS ==== ==== SELL ONLY MODE SETTINGS ====
-Sell only Mode triggers are optional settings used to control risk with the bot. Set these carefully if you wish to control when the bot buys. Often when the market makes a swing, it is caused by the underlying currency (BTC, ETH etc) moving up or down wildly. When it does so, these triggers can automatically turn on "Sell Only Mode" (SOM). ​\\+Sell only Mode triggers are optional settings used to control risk with the bot. Set these carefully if you wish to control when the bot buys. Often when the market makes a swing, it is caused by the underlying currency (BTC, ETH etc) moving up or down wildly. When it does so, these triggers can automatically turn on "Sell Only Mode" (SOM). 
 ---- ----
 == DEFAULT_sell_only_mode_enabled == == DEFAULT_sell_only_mode_enabled ==
- 
 <file java> <file java>
 DEFAULT_sell_only_mode_enabled = false DEFAULT_sell_only_mode_enabled = false
Line 1369: Line 1341:
 **Note:** You can permit DCA purchases to continue when in SOM. See ''​[[dca.properties#​DCA_ignore_sell_only_mode]]''​ as well as ''​[[dca.properties#​SOM_DCA_buy_trigger]]''​ in [[dca.properties]]. **Note:** You can permit DCA purchases to continue when in SOM. See ''​[[dca.properties#​DCA_ignore_sell_only_mode]]''​ as well as ''​[[dca.properties#​SOM_DCA_buy_trigger]]''​ in [[dca.properties]].
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == consecutive_buy_trigger == == consecutive_buy_trigger ==
- 
 <file java> <file java>
 consecutive_buy_trigger = 5 consecutive_buy_trigger = 5
Line 1387: Line 1356:
 You will receive a telegram message to inform you of this. You will receive a telegram message to inform you of this.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == consecutive_sell_trigger == == consecutive_sell_trigger ==
- 
 <file java> <file java>
 consecutive_sell_trigger = 3 consecutive_sell_trigger = 3
Line 1405: Line 1371:
 You will receive a telegram message to inform you of this You will receive a telegram message to inform you of this
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == price_trigger_market == == price_trigger_market ==
- 
 <file java> <file java>
 price_trigger_market = ETH price_trigger_market = ETH
Line 1419: Line 1382:
 Valid values: ETH, BTC, BNB, XMR Valid values: ETH, BTC, BNB, XMR
  
 +The price market reflects the chartdata for the given coin used and is taken from the exchange USDT base pairing.\\
 +Example - BTCUSDT if BTC is set as the price trigger market.\\
 USDT is not currently possible as there is not USDTUSDT pair to get data from USDT is not currently possible as there is not USDTUSDT pair to get data from
  
-Set the currency that ProfitTrailer will watch to determine if there is a significant increase or decrease in the value of the coin. The length of time the bot will look back at is 24 hours by default but ''​[[indicators.properties#​SOM_trigger_length|SOM_trigger_length]]''​ can be configured to change the number of 5 minute candles to look back. The bot will go into Sell Only Mode if the price change meets the below triggers. Useful to protect against large market swings if a big price swing changes the market dynamics.+Set the currency that ProfitTrailer will watch to determine if there is a significant increase or decrease in the value of the coin. The length of time the bot will look back at is 24 hours by default but ''​[[indicators.properties#​SOM_trigger_length|SOM_trigger_length]]''​ can be configured to change the number of 5 minute candles to look back. The bot will go into Sell Only Mode if the price change meets the below triggers. Useful to protect against large market swings if a big price swing changes the market dynamics.\\
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == price_drop_trigger == == price_drop_trigger ==
- 
 <file java> <file java>
 price_drop_trigger = 10.5 price_drop_trigger = 10.5
Line 1441: Line 1403:
 You will receive a notification to inform you of this if configured. You will receive a notification to inform you of this if configured.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == price_drop_recover_trigger == == price_drop_recover_trigger ==
- 
 <file java> <file java>
 price_drop_recover_trigger = 8 price_drop_recover_trigger = 8
Line 1459: Line 1418:
 You will receive a notification to inform you of this if configured. You will receive a notification to inform you of this if configured.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == price_rise_trigger == == price_rise_trigger ==
- 
 <file java> <file java>
 price_rise_trigger = 8 price_rise_trigger = 8
Line 1477: Line 1433:
 You will receive a notification to inform you of this if configured. You will receive a notification to inform you of this if configured.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
 == price_rise_recover_trigger == == price_rise_recover_trigger ==
- 
 <file java> <file java>
 price_rise_recover_trigger = 6.4 price_rise_recover_trigger = 6.4
Line 1495: Line 1448:
 You will receive a notification to inform you of this if configured. You will receive a notification to inform you of this if configured.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 1508: Line 1459:
  
 There is only one parameter that should always be specified on a coin per basis: There is only one parameter that should always be specified on a coin per basis:
- 
-\\ 
-[[pairs.properties|TOP]] 
-\\ 
  
 ---- ----
- 
  
 == DEFAULT_reserve_amount == == DEFAULT_reserve_amount ==
Line 1527: Line 1473:
 Reserve a number of the specified coin that will not be used in trading. This allows you to hold and trade the same coin. In the above example we can hold 50 ADA aside and trade any additional ADA. Reserve a number of the specified coin that will not be used in trading. This allows you to hold and trade the same coin. In the above example we can hold 50 ADA aside and trade any additional ADA.
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
  
 ---- ----
Line 1544: Line 1488:
 [[exchanges#​Huobi]] [[exchanges#​Huobi]]
  
-\\ 
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
-\\ 
- 
-~~DISCUSSION~~ 
  • pairs.properties.1552428038.txt.gz
  • Last modified: 3 months ago
  • by sgtbatten