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 [2018/06/01 09:16]
sgtbatten [SELL SETTINGS]
pairs.properties [2019/01/23 17:23] (current)
taniman
Line 1: Line 1:
-===== pairs.properties ​V2.0 =====+===== pairs.properties =====
  
-[[pairs.properties1|Click here for Version 1 settings]] +These settings control the buying and selling ​behaviour ​of the bot for coins. It also contains "​trigger"​ settings to control risk during market swings. ​
- +
-**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 ​behavior ​of the bot for coins. It also contains "​trigger"​ settings to control risk during market swings.  +
----- +
- +
-===Video Guide to Pairs=== +
-Coming Soon! +
- +
-Use it to deeply understand how the Pairs settings control your buy and sell strategies+
 ---- ----
  
Line 24: Line 14:
   * [[pairs.properties#​sell_settings|Sell Settings]]   * [[pairs.properties#​sell_settings|Sell Settings]]
   * [[pairs.properties#​sell_only_mode_settings|Sell Only Mode Settings]]   * [[pairs.properties#​sell_only_mode_settings|Sell Only Mode Settings]]
 +  * [[pairs.properties#​Coin Specific Settings]]
   * [[pairs.properties#​dust_settings|Dust]]   * [[pairs.properties#​dust_settings|Dust]]
  
Line 43: Line 34:
 [[pairs.properties#​hidden_pairs]] = ALL\\ [[pairs.properties#​hidden_pairs]] = ALL\\
 [[pairs.properties#​DEFAULT_DCA_enabled]] = false\\ [[pairs.properties#​DEFAULT_DCA_enabled]] = false\\
 +[[pairs.properties#​DEFAULT_combine_pending_orders]] = false\\
  
 [[pairs.properties#​start_balance]] = 0.2\\ [[pairs.properties#​start_balance]] = 0.2\\
Line 52: Line 44:
 [[pairs.properties#​DEFAULT_initial_cost]] = 0.0012\\ [[pairs.properties#​DEFAULT_initial_cost]] = 0.0012\\
 [[pairs.properties#​DEFAULT_initial_cost_percentage]] = 0\\ [[pairs.properties#​DEFAULT_initial_cost_percentage]] = 0\\
 +[[pairs.properties#​DEFAULT_buy_leverage]] = \\
 [[pairs.properties#​DEFAULT_min_buy_volume]] = 0\\ [[pairs.properties#​DEFAULT_min_buy_volume]] = 0\\
 [[pairs.properties#​DEFAULT_min_buy_price]] = 0\\ [[pairs.properties#​DEFAULT_min_buy_price]] = 0\\
Line 61: Line 54:
 [[pairs.properties#​DEFAULT_buy_max_change_percentage]] = 0\\ [[pairs.properties#​DEFAULT_buy_max_change_percentage]] = 0\\
 [[pairs.properties#​pair_min_listed_days]] = 15\\ [[pairs.properties#​pair_min_listed_days]] = 15\\
 +
 +[[pairs.properties#​DEFAULT_sell_wall_orderbook_depth]] = 30\\
 +[[pairs.properties#​DEFAULT_sell_wall_diff_percentage]] = 500\\
  
 <​file>#​BUY SETTINGS#</​file>​ <​file>#​BUY SETTINGS#</​file>​
-[[pairs.properties#​buy_settings|DEFAULT_A_buy_strategy]] = LOWBB\\+[[pairs.properties#​DEFAULT_A_buy_strategy_label]] = STRATEGYNAME\\ 
 +[[pairs.properties#​DEFAULT_A_buy_strategy]] = LOWBB\\
 [[pairs.properties#​DEFAULT_A_buy_value]] = 25\\ [[pairs.properties#​DEFAULT_A_buy_value]] = 25\\
 [[pairs.properties#​DEFAULT_A_buy_value_limit]] = 0\\ [[pairs.properties#​DEFAULT_A_buy_value_limit]] = 0\\
 +[[pairs.properties#​DEFAULT_A_buy_strategy_direction]] = \\
 +[[pairs.properties#​DEFAULT_A_buy_on_first_signal]] = false\\
  
-[[pairs.properties#​buy_settings|DEFAULT_B_buy_strategy]] = RSI\\+[[pairs.properties#​DEFAULT_A_buy_strategy|DEFAULT_B_buy_strategy]] = RSI\\
 [[pairs.properties#​DEFAULT_A_buy_value|DEFAULT_B_buy_value]] = 35\\ [[pairs.properties#​DEFAULT_A_buy_value|DEFAULT_B_buy_value]] = 35\\
 [[pairs.properties#​DEFAULT_A_buy_value_limit|DEFAULT_B_buy_value_limit]] = 0\\ [[pairs.properties#​DEFAULT_A_buy_value_limit|DEFAULT_B_buy_value_limit]] = 0\\
  
 [[pairs.properties#​DEFAULT_trailing_buy]] = 0.25\\ [[pairs.properties#​DEFAULT_trailing_buy]] = 0.25\\
- +[[pairs.properties#​DEFAULT_trailing_buy_rebound_count]] = \\
-[[pairs.properties#​DEFAULT_A_buy_on_first_signal]] = false\\+
  
 <​file>#​SELL SETTINGS#</​file>​ <​file>#​SELL SETTINGS#</​file>​
 +[[pairs.properties#​sell_settings|DEFAULT_A_sell_strategy_label]] = STRATEGYNAME\\
 [[pairs.properties#​DEFAULT_A_sell_strategy]] = GAIN\\ [[pairs.properties#​DEFAULT_A_sell_strategy]] = GAIN\\
 [[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_trailing_profit]] = 0.35\\ [[pairs.properties#​DEFAULT_trailing_profit]] = 0.35\\
 +[[pairs.properties#​DEFAULT_trailing_profit_type]] = DEFAULT\\
 +[[pairs.properties#​DEFAULT_trailing_profit_rebound_count]] = 0 \\
  
 [[pairs.properties#​orderbook_profit_calculation]] = true\\ [[pairs.properties#​orderbook_profit_calculation]] = true\\
Line 86: Line 88:
 [[pairs.properties#​DEFAULT_take_profit_reset_percentage_move]] = 0\\ [[pairs.properties#​DEFAULT_take_profit_reset_percentage_move]] = 0\\
 [[pairs.properties#​DEFAULT_take_profit_wait_time]] = 0\\ [[pairs.properties#​DEFAULT_take_profit_wait_time]] = 0\\
 +[[pairs.properties#​DEFAULT_take_profit_safety_arm]] = 0\\
 +[[pairs.properties#​DEFAULT_take_profit_safety_fire]] = 0\\
  
 +[[pairs.properties#​DEFAULT_pending_gain_percentage]] = 0.5\\
 [[pairs.properties#​DEFAULT_pending_order_wait_time]] = 0\\ [[pairs.properties#​DEFAULT_pending_order_wait_time]] = 0\\
 +[[pairs.properties#​DEFAULT_pending_order_price_drop_trigger]] = 0\\
 [[pairs.properties#​DEFAULT_combined_cancel_pending_trigger]] = 0\\ [[pairs.properties#​DEFAULT_combined_cancel_pending_trigger]] = 0\\
 +[[pairs.properties#​DEFAULT_cancel_pending_trigger]] = 0\\
 +[[pairs.properties#​DEFAULT_combine_pending_orders]] = false\\
  
 [[pairs.properties#​DEFAULT_stop_loss_trigger]] = 0\\ [[pairs.properties#​DEFAULT_stop_loss_trigger]] = 0\\
 [[pairs.properties#​DEFAULT_stop_loss_timeout]] = 0\\ [[pairs.properties#​DEFAULT_stop_loss_timeout]] = 0\\
 +[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]] = 0\\
 +[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger]] = 0\\
 [[pairs.properties#​DEFAULT_panic_sell_enabled]] = false\\ [[pairs.properties#​DEFAULT_panic_sell_enabled]] = false\\
  
Line 109: Line 119:
 <​file>#​COIN SPECIFIC SETTINGS#</​file>​ <​file>#​COIN SPECIFIC SETTINGS#</​file>​
 [[faq#​how_do_i_change_settings_on_a_single_coin|BNB_trading_enabled]] = false\\ [[faq#​how_do_i_change_settings_on_a_single_coin|BNB_trading_enabled]] = false\\
 +[[pairs.properties#​DEFAULT_reserve_amount|ADA_reserve_amount]] = 50 \\
  
 \\ \\
Line 123: Line 133:
 market = BTC market = BTC
 </​file>​ </​file>​
-Valid values: BTC, ETH, XMR, BNB or USDT+Valid values: BTC, ETH, XMR, BNB, NEO, KCS, USDT, XBT etc. Any base market on your exchange is permitted.
  
 Define the market we are trading. Define the market we are trading.
  
-**Note**: XMR is valid on Poloniex only. BNB is valid on Binance only+**Notes**:  
 +  - 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.
  
 ---- ----
Line 137: Line 149:
 <file java> <file java>
 enabled_pairs = LTC, ADA, XRP, NANO enabled_pairs = LTC, ADA, XRP, NANO
 +For Bitmex:
 +enabled_pairs = XBTUSD, ETHH18, ADAZ18
 </​file>​ </​file>​
 Valid values: ALL or a list of comma seperated coins (e.g = LTC, ADA, XRP, NANO) Valid values: ALL or a list of comma seperated coins (e.g = LTC, ADA, XRP, NANO)
Line 143: Line 157:
  
 For a coin to appear in the possible buy log or be traded it needs to be included in this list and trading needs to be enabled below. For a coin to appear in the possible buy log or be traded it needs to be included in this list and trading needs to be enabled below.
 +
 +**Bitmex**: On Bitmex you need to specify the contract name.
  
 ---- ----
Line 186: Line 202:
 <file java> <file java>
 DEFAULT_DCA_enabled = -2.5 DEFAULT_DCA_enabled = -2.5
 +</​file>​
 +OR
 +<file java>
 +DEFAULT_DCA_enabled = 0.86
 </​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: true, false, or a decimal value less than or equal to 0.+Valid values: true, false, or a negative or positive ​decimal value.
  
 Enable or disable Dollar Cost Averaging. Enable or disable Dollar Cost Averaging.
  
-Setting to true or a negative ​value enables DCA. The bot will use the strategies defined in [[dca.properties]]. In the example above, -2.5 is -2.5%, so the coin will not be sent into the DCA Log until the profit margin falls to -2.5% or below. ​+Setting to true or a number ​value enables DCA. The bot will use the strategies defined in [[dca.properties]]. In the example above, -2.5 is -2.5%, so the coin will not be sent into the DCA Log until the profit margin falls to -2.5% or below. Conversely 0.86 means the coin will not be sent to the DCA log until the profit rises to 0.86% or more.
  
 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.
Line 204: Line 224:
 Valid values: Decimal value greater than or equal to 0. Valid values: Decimal value greater than or equal to 0.
  
-Set the balance in your exchange account when you first started using ProfitTrailer. This value is displayed in the web GUI and used for calculating daily profits.  +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.
- +
-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 fake trade with if you wish.+
  
 ---- ----
Line 263: Line 281:
  
 0 will allow unlimited coins (not recommended) 0 will allow unlimited coins (not recommended)
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 294: Line 316:
 XMR = 0.00025 \\ XMR = 0.00025 \\
 USDT = 1.25  USDT = 1.25 
 +
 +**Kucoin** \\ Kucoin minimums are not set in stone but they are some of the lowest around. We cannot provide specific examples.
 +BTC =  \\
 +ETH =  \\
 +NEO =  \\
 +USDT =  \\
 +KCS =  \\
 +
 +**Huobi** \\
 +BTC =  \\
 +ETH =  \\
 +USDT =  \\
 +HT =  \\
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 310: Line 349:
   * This property only works if ''​[[pairs.properties#​DEFAULT_initial_cost]] = 0''​. ​   * This property only works if ''​[[pairs.properties#​DEFAULT_initial_cost]] = 0''​. ​
   * 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]]
 +\\
 +
 +----
 +
 +== DEFAULT_buy_leverage ==
 +
 +<file java>
 +DEFAULT_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>​
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 ---- ----
 == DEFAULT_min_buy_volume == == DEFAULT_min_buy_volume ==
Line 323: Line 384:
  
 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]]
 +\\
 +
 ---- ----
 == DEFAULT_min_buy_price == == DEFAULT_min_buy_price ==
Line 334: Line 400:
  
 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]]
 +\\
  
 ---- ----
Line 346: Line 416:
  
 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]]
 +\\
  
 ---- ----
Line 363: Line 437:
 **Note:** **Note:**
   - 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]]
 +\\
  
 ---- ----
Line 374: Line 452:
 Valid values: Integer values greater or equal to 0 Valid values: Integer values greater or equal to 0
  
-Set the amount of minutes that the bot is not allowed to buy a coin after it was sold.+Set the amount of minutes that the bot is not allowed to buy a coin after the initial buy or after it was sold.
 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]]
 +\\
  
 ---- ----
Line 392: Line 474:
 DEFAULT_buy_min_change_percentage = 3.5 --> Only buy a coin if the 24 hour change is above 3.5%\\ DEFAULT_buy_min_change_percentage = 3.5 --> Only buy a coin if the 24 hour change is above 3.5%\\
 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]]
 +\\
  
 ---- ----
Line 408: Line 494:
 DEFAULT_buy_max_change_percentage = 8 --> Only buy a coin if the 24 hour change is below 8%\\ DEFAULT_buy_max_change_percentage = 8 --> Only buy a coin if the 24 hour change is below 8%\\
 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]]
 +\\
 +
 ---- ----
 == pair_min_listed_days == == pair_min_listed_days ==
Line 416: Line 507:
 [[mandatory_settings#​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 greater than or equal to 0+Valid values: ​Integer ​Values greater than or equal to 0
  
 Do not purchase a coin if the pair (coin in used market) has not been listed on the exchange for more than the set number of days. Set to 0 to disable. Do not purchase a coin if the pair (coin in used market) has not been listed on the exchange for more than the set number of days. Set to 0 to disable.
 +
 +**Note:**
 +  - This feature can be used back to 28.02.2018, i.e. if you enter 365 days, you will only exclude pairs which were listed since 28.02.2018
 +  - Changes to this parameter will take a lengthy time to take affect. A restart of the bot will allow the change to happen immediately.
  
  
Line 424: Line 519:
 [[pairs.properties|TOP]] [[pairs.properties|TOP]]
 \\ \\
 +
 +----
 +== DEFAULT_sell_wall_orderbook_depth ==
 +<file java>
 +DEFAULT_sell_wall_orderbook_depth = 40
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: Integer values greater than 0
 +
 +Set the depth of the orderbook to look back and identify the largest sell order. If you set 30, ProfitTrailer will look at the top 30 orders. ProfitTrailer will then calculate the average the top 30 orders (excluding the largest one) and determine if the difference from the largest order exceeds your ''​[[pairs.properties#​DEFAULT_sell_wall_diff_percentage]]''​ setting. If it exceeds the allowed difference the coin will not be purchased.
 +
 +**Note:**
 +  - Used with ''​[[pairs.properties#​DEFAULT_sell_wall_diff_percentage]]''​
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_sell_wall_diff_percentage ==
 +<file java>
 +DEFAULT_sell_wall_diff_percentage = 600
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: Decimal values greater than 100
 +
 +Set the maximum difference allowed from the average order size within the ''​[[pairs.properties#​DEFAULT_sell_wall_orderbook_depth]]''​. If this difference is exceeded then the coin will not be bought.
 +
 +//Example: \\
 +DEFAULT_sell_wall_orderbook_depth = 20 \\
 +DEFAULT_sell_wall_diff_percentage = 600 \\
 +\\
 +Average of the bottom 20 sell orders (excluding largest order) is e.g 0.05 BTC in size. If the largest order is 600% or 6 times the average (e.g 0.3 BTC) then this will be identified as a sell wall. //
 +
 +**Note:**
 +  - Used with ''​[[pairs.properties#​DEFAULT_sell_wall_orderbook_depth]]''​
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 ---- ----
  
Line 430: Line 568:
 More than one buy strategy can be used at the same time. To define more than one buy strategy replace A with B, C, D or E . e.g DEFAULT_B_buy_strategy. ALL relevant B parameters will also be required. More than one buy strategy can be used at the same time. To define more than one buy strategy replace A with B, C, D or E . e.g DEFAULT_B_buy_strategy. ALL relevant B parameters will also be required.
 ---- ----
 +== DEFAULT_A_buy_strategy_label ==
 +<file java>
 +DEFAULT_A_buy_strategy_label = SMASLOWCROSS
 +</​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 name you choose.
 +
 +Set a unique label for your strategy in order to facilitate the same indicator being used multiple times.
 +
 +//​Example://​ \\
 +in [[indicators.properties]] (if pre-set for import) or the indicator [[web_interface_guide#​advanced]] tab, we define SMACROSS and SMASLOWCROSS values
 +
 +//​SMA_cross_candles = 2 \\
 +SMA_candle_period = 300 \\
 +SMA_fast_length = 12 \\
 +SMA_slow_length = 24 \\
 +\\
 +SMASLOWCROSS_cross_candles = 2 \\
 +SMASLOWCROSS_candle_period = 900 \\
 +SMASLOWCROSS_fast_length = 100 \\
 +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.
 +
 +//​DEFAULT_A_buy_strategy = SMACROSS \\
 +DEFAULT_A_buy_value = -2 \\
 +\\
 +DEFAULT_B_buy_strategy_label = SMASLOWCROSS \\
 +DEFAULT_B_buy_strategy = SMACROSS \\
 +DEFAULT_B_buy_value = -2 //
 +
 +**Note:**
 +  - The label can be anything alphanumeric. 1337SUPERDUPER420 will work
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +
 == DEFAULT_A_buy_strategy == == DEFAULT_A_buy_strategy ==
  
Line 437: Line 616:
 [[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}}]]
  
-Valid values: LOWBB, HIGHBB, EMAGAIN, EMASPREAD, EMACROSS, SMAGAIN, SMASPREAD, ​SMACROSS, LOSS, 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, ​LOWBB, EMACROSS, SMASPREAD, ​STOCHRSID 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 new coins. Define a strategy to be used when buying new coins.
Line 444: Line 623:
   - 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''​
   - 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]].
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 461: Line 646:
 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]]
 +\\
  
 ---- ----
Line 470: Line 658:
 [[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: positive or negative decimal numbers depending on the [[buy_and_sell_strategies#buying|Buy Strategy]]+Valid values: positive or negative decimal numbers depending on the [[buy_and_sell_strategies|Buy Strategy]]
  
-This value sets the outer limit of a "buy zone" with the buy value as the other limit. ​Set to 0 to disable.+This value sets the outer limit of a "buy zone" with the buy value as the other limit. ​Do not include this parameter if no limit is desired.
  
-<file java> +**NOTE**: The set ''​buy_value_limit''​ needs to be further into the buy zone than the buy value otherwise a buy cannot take place.
-If buy_value >= 0 then buy_value_limit > 0 +
-If buy_value < 0 then buy_value_limit < 0 +
- +
-</​file>​ +
- +
-**NOTE**: The set ''​buy_value_limit''​ needs to be further into the buy zone that the buy value otherwise a buy cannot take place. Trailing will not work beyond the limit.+
  
 //Example: EMASPREAD \\ //Example: EMASPREAD \\
Line 507: Line 689:
 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]]
 +\\
 +
 +----
 +== DEFAULT_A_buy_strategy_direction ==
 +
 +<file java>
 +DEFAULT_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}}]]
 +
 +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_A_buy_strategy = RSI\\
 +DEFAULT_A_buy_value = 35\\
 +The strategy will be true when the RSI value is below 35\\
 +\\
 +DEFAULT_A_buy_strategy = RSI\\
 +DEFAULT_A_buy_value = 35\\
 +DEFAULT_A_buy_strategy_direction = UP\\
 +The strategy will be true when the RSI value is above 35.//
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 ---- ----
 == DEFAULT_A_buy_on_first_signal == == DEFAULT_A_buy_on_first_signal ==
Line 555: Line 766:
 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]]
 +\\
 +
 +----
 +== DEFAULT_trailing_buy_rebound_count==
 +
 +<file java>
 +DEFAULT_trailing_buy_rebound_count = 1
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: Integer values equal to or greater than 0. 
 +
 +Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy. 
 +
 +A normal trail will occur as the price rises. If the trailing_buy amount is reached ProfitTrailer notes the current price as the new lowest price reached. The price must now go lower than the noted price to complete the first rebound. Normal trailing then occurs again and the process will repeat itself as many times as set to do so.
 +
 +More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
  
 \\ \\
Line 566: Line 797:
  
 It is **required that GAIN is used** as one of the sell strategies. GAIN determines the minimum profit percentage before the bot can sell the coin.  It is **required that GAIN is used** as one of the sell strategies. GAIN determines the minimum profit percentage before the bot can sell the coin. 
 +
 +----
 +== DEFAULT_A_sell_strategy_label ==
 +<file java>
 +DEFAULT_A_sell_strategy_label = RSI900
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid Values: Any name you choose.
 +
 +Set a unique label for your strategy in order to facilitate the same indicators being used multiple times.
 +
 +For an example of usage see [[pairs.properties#​DEFAULT_A_buy_strategy_label]]
 +
 +**Note:**
 +  - The label can be anything alphanumeric. 1337SUPERDUPER420 will work
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 575: Line 826:
 [[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}}]]
  
-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, HIGHBB, EMASPREAD, SMACROSS, ​STOCHRSID, OBV etc or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for all options and info on each setting.)
  
 Define a strategy used to sell coins. Define a strategy used to sell coins.
Line 582: Line 833:
   - 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]].
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 597: Line 854:
 **Note:** **Note:**
   - 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]]
 +\\
  
 ---- ----
 +== DEFAULT_A_sell_value_limit ==
 +<file java>
 +DEFAULT_A_sell_value_limit = 
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: positive or negative decimal numbers depending on the [[buy_and_sell_strategies|Sell Strategy]]
 +
 +This value sets the outer limit of a "sell zone" with the sell value as the other limit. Do not include this parameter if no limit is desired.
 +
 +**NOTE**: The set ''​sell_value_limit''​ needs to be further into the sell zone than the buy value otherwise a sell cannot take place. Trailing will not work beyond the limit.
 +
 +//Example: EMASPREAD \\
 +DEFAULT_A_sell_value = -1.5 \\ 
 +DEFAULT_A_sell_value_limit = -2.5 \\
 +The bot will only sell if EMASPREAD is between -1.5% and -2.5%//
 +
 +//Example: EMASPREAD \\
 +DEFAULT_A_sell_value = 0.55 \\ 
 +DEFAULT_A_sell_value_limit = 2.5 \\
 +The bot will only sell if EMASPREAD is between 0.5% and 2.5%//
 +
 +//Example: LOWBB \\
 +DEFAULT_A_sell_value = -20 \\ 
 +DEFAULT_A_sell_value_limit = -45 \\
 +The bot will only buy if the price is between LOWBB -20 and LOWBB -45//
 +
 +//Example: LOWBB \\
 +DEFAULT_A_sell_value = 15 \\ 
 +DEFAULT_A_sell_value_limit = -50 \\
 +The bot will only sell if the price is between LOWBB 15 and LOWBB -50//
 +
 +//Example: RSI \\
 +DEFAULT_A_sell_value = 30 \\ 
 +DEFAULT_A_sell_value_limit = 15 \\
 +The bot will only sell if RSI is between 15 and 30//
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +
 == DEFAULT_trailing_profit == == DEFAULT_trailing_profit ==
  
Line 609: Line 913:
  
 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]].
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_trailing_profit_type ==
 +<file java>
 +DEFAULT_trailing_profit_type = GROW
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: DEFAULT, GROW, SHRINK
 +
 +Set the ''​[[pairs.properties#​DEFAULT_trailing_profit|trailing_profit]]''​ to grow or shrink when the profit increases. The altered trailing profit is calculated based on the highest profit percentage reached and will remain in use until the coin sells or the trailing ends without a sale.
 +
 +The formula used is:
 +
 +**Grow**
 +  multiplier = trailingValue / sellValue;
 +  newTrailingValue = Math.abs(multiplier * highestTrailingValue);​
 +
 +**Shrink**
 +  multiplier = trailingValue * sellValue;
 +  newtrailingValue = Math.abs(multiplier / highestTrailingValue);​
 +  ​
 +Where trailingValue = trailing_profit and sellValue = the value set for your GAIN strategy.
 +  ​
 +**Note**
 +  - Using DEFAULT will not alter the ''​trailing_profit''​ value at all.
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_trailing_profit_rebound_count==
 +
 +<file java>
 +DEFAULT_trailing_profit_rebound_count = 1
 +</​file>​
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]
 +
 +Valid values: Integer values equal to or greater than 0. 
 +
 +Set the number of times you want to see the price fluctuate into and out of a good trail before making the sale. 
 +
 +A normal trail will occur as the price falls. If the trailing_profit amount is reached ProfitTrailer notes the current price as the new highest price. The price must now go higher than the noted price to complete the first rebound. Normal trailing then occurs again and the process will repeat itself as many times as set to do so.
 +
 +More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]].
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 620: Line 978:
 Valid values: true or false Valid values: true or false
  
-Normally ​the bot only looks at the highest bid order to calculate profit percentage and observe ​orderbook  ​volume. If set to true, ProfitTrailer will look at the highest bid order with enough volume ​rather than just the highest bid order. This gives you a more realistic representation of your position and allows the bot to make a sale it otherwise not have even attempted.+If false (default) ​the bot only looks at the highest bid order to calculate profit percentage and observe ​order book volume. If the highest Bid is not large enough, ProfitTrailer won't try to sell. If set to true, ProfitTrailer will work its way down the order book adding up the orders until it has enough volume. This gives you a more realistic representation of your position and allows the bot to make a sale it otherwise not have even attempted.
  
-Both percentages will be displayed in the Profit % column. The volume corrected profit % is displayed beneath the standard profit % only when profit ​is greater than 0.+Both percentages will be displayed in the Profit % column ​in the [[web_interface_guide|Pairs Log]]. The volume corrected profit % is displayed beneath the standard profit % only when SSV is greater than 0. 
 + 
 +\\ 
 +[[pairs.properties|TOP]] 
 +\\
  
 ---- ----
Line 635: Line 997:
  
 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]]
 +\\
  
 ---- ----
Line 659: Line 1025:
 If the Profit is above 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 above 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.\\
 // //
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 671: Line 1041:
  
 Set the % of price deviation allowed from the ''​[[pairs.properties#​DEFAULT_take_profit_percentage]]''​ before resetting the ''​[[pairs.properties#​DEFAULT_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_take_profit_percentage]]''​ before resetting the ''​[[pairs.properties#​DEFAULT_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.
 +
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 ---- ----
 == DEFAULT_take_profit_wait_time == == DEFAULT_take_profit_wait_time ==
Line 685: Line 1060:
 **Note:** **Note:**
   - 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]]
 +\\
 +
 +----
 +== DEFAULT_take_profit_safety_arm ==
 +
 +<file java>
 +DEFAULT_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}}]]
 +
 +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 ''​[[pairs.properties#​DEFAULT_take_profit_safety_arm]]''​ we flag the coin as armed.
 +Then if the profit comes back down below the ''​[[pairs.properties#​DEFAULT_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.
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +----
 +== DEFAULT_take_profit_safety_fire ==
 +
 +<file java>
 +DEFAULT_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}}]]
 +
 +Valid Values: Decimal values greater than or equal to 0
 +
 +Set the value which will trigger the Take Profit Safety sell method. Requires ''​[[pairs.properties#​DEFAULT_take_profit_safety_arm]]''​ to be armed.
 +
 +**Notes:**
 +  - Must be less than [[pairs.properties#​DEFAULT_take_profit_safety_arm]]
 +  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information.
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_pending_gain_percentage ==
 +
 +<file java>
 +DEFAULT_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}}]]
 +
 +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.
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 700: Line 1140:
 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. 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 pending order are not 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.+  - 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]] 
 +\\ 
 + 
 +---- 
 +== DEFAULT_pending_order_price_drop_trigger == 
 + 
 +<file java> 
 +DEFAULT_pending_order_price_drop_trigger = -10 
 +</​file>​ 
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
 + 
 +Valid values: Positive or nagative decimal values. 
 +(1 and -1 are equal.) 
 + 
 +If the price has dropped x% since we bought a coin and we have not sold it (and it's 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. 
 + 
 +The bot will report the Profit % and the Combined Profit % in the Pending Log. Combined Profit takes the pending order and any additional amounts of the same coin into account and gives the overall position for that pair. 
 + 
 +**Notes**:  
 +  - Coins that sell from a manually placed exchange ​order are not recorded in the sales log. Coins that sell from a bot placed pending order will be recorded in the sales log. 
 +  -  ​''​[[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]] 
 +\\
  
 ---- ----
Line 711: Line 1179:
 [[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 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:** 
 +  - (As of version 2.2) Will only cancel pending orders that were created from the pairs log i.e [[pairs.properties#​DEFAULT_pending_order_wait_time]] or [[pairs.properties#​DEFAULT_pending_order_price_drop_trigger]] 
 + 
 +\\ 
 +[[pairs.properties|TOP]] 
 +\\ 
 + 
 +---- 
 +== DEFAULT_cancel_pending_trigger == 
 + 
 +<file java> 
 +DEFAULT_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}}]] 
 + 
 +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. 
 + 
 +**Note:** 
 +  - Will only cancel pending orders that were created from the pairs log i.e [[pairs.properties#​DEFAULT_pending_order_wait_time]] or [[pairs.properties#​DEFAULT_pending_order_price_drop_trigger]] 
 + 
 +\\ 
 +[[pairs.properties|TOP]] 
 +\\ 
 + 
 +---- 
 +== DEFAULT_combine_pending_orders == 
 +<file java> 
 +DEFAULT_combine_pending_orders = false 
 +</​file>​ 
 +[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
 + 
 +Valid Values: true/​false 
 + 
 +Choose to combine pending orders for the same coin into one item in the pending log or keep them as separate items. 
 + 
 +Default value is true if not set. 
 + 
 +\\ 
 +[[pairs.properties|TOP]] 
 +\\
  
 ---- ----
Line 732: Line 1243:
   - Stop loss positive values are automatically converted to negative value   - Stop loss positive values are automatically converted to negative value
   - 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]]
 +\\
  
 ---- ----
Line 744: Line 1259:
  
 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]]
 +\\
 +
 +----
 +== DEFAULT_trailing_stop_loss_trigger_arm ==
 +
 +<file java>
 +DEFAULT_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}}]]
 +
 +Valid Values: Decimal values greater than or equal to 0
 +
 +Set the value which will arm the Tailing Stop Loss sell method. ​
 +
 +If the profit goes above ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]]''​ we flag the coin as armed.
 +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:**
 +  - 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.
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
 +
 +----
 +== DEFAULT_trailing_stop_loss_trigger ==
 +
 +<file java>
 +DEFAULT_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}}]]
 +
 +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 ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger_arm]]''​ before it will be activated
 +  - 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]]''​
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 755: Line 1319:
 Valid values: true or false Valid values: true or false
  
-Set to "​true"​ to sell all of your trading enabled ​coins IMMEDIATELY for current market prices. It does what it says, and does it **now**. Use with caution.+Set to "​true"​ to sell all of your coins in the [[web_interface_guide#​Pairs Log]] IMMEDIATELY for current market prices. It does what it says, and does it **now**. Use with caution.
  
 **Note:** **Note:**
-  - Coins in WATCHMODE ​and in the Pending Log will not be sold.+  - Coins in WATCHMODE ​or in the [[web_interface_guide#​DCA Log]] or [[web_interface_guide#​Pending Log]] will not be sold.
  
  
Line 780: Line 1344:
  
 **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]]
 +\\
 +
 ---- ----
 == consecutive_buy_trigger == == consecutive_buy_trigger ==
Line 793: Line 1362:
  
 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]]
 +\\
  
 ---- ----
Line 807: Line 1380:
  
 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]]
 +\\
  
 ---- ----
Line 821: Line 1398:
  
 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]]
 +\\
  
 ---- ----
Line 835: Line 1416:
  
 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]]
 +\\
  
 ---- ----
Line 849: Line 1434:
  
 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]]
 +\\
  
 ---- ----
Line 863: Line 1452:
  
 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]]
 +\\
  
 ---- ----
Line 884: Line 1477:
 ---- ----
  
-====DUST SETTINGS==== +==== Coin Specific Settings ​====
-"​Dust"​ is the technical term for an amount of coin left over from an incomplete sell that is too small for the bot to sell on the exchange because it falls below their minimum sell amount. If the available balance of a coin is worth less than the dust threshold we ignore it. This allows the bot to make new buys for that coin and it will add the dust amount to the new purchase \\+
  
-**NOTE**: Below are the recommended values. You do not have to include this parameter ​for Binance and Bittrex ​ as actual ​dust values are retrieved directly ​on a per coin basis from the exchangeSome coins could be bought using lower dust value, while some others require ​higher ​value. The default values below will cover all coins that the exchange does not send us a value for automatically.\\+Many parameters can be customized ​on a per coin basis. ​[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]] means every single coin can be given different ​value or one or more coins can be given different ​value from set DEFAULT ​value.
  
-===Bittrex=== +Any parameter that begins with DEFAULT can be set per coin. Coin specific settings overwrite the identical DEFAULT value for that coin. You can read more on how to use [[faq#how_do_i_change_settings_on_a_single_coin|Coin Specific Settings in the FAQ]].
-[[mandatory_settings#optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]+
  
-Bittrex settings are variable as they are based on a min trade of 100000 satoshis.  +There is only one parameter that should always be specified ​on a coin per basis:
-<file java> +
-BTC_dust = 0.000999 +
-ETH_dust = 0.01 +
-USDT_dust = 9.99 +
-</​file>​+
  
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
-===Binance=== +----
-[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional ​click for more info}}]] +
-<file java> +
-BTC_dust = 0.000999 +
-ETH_dust = 0.00999 +
-BNB_dust = 0.999 +
-USDT_dust = 9.99 +
-</​file>​+
  
  
-===Poloniex===+== DEFAULT_reserve_amount ​== 
 <file java> <file java>
-BTC_dust ​0.000105 +ADA_reserve_amount ​50
-ETH_dust = 0.0007 +
-XMR_dust = 0.0002 +
-USDT_dust = 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}}]]
 +
 +Valid Values: Decimal values greater than 0.
 +
 +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]]
 +\\
 +
 +----
 +
 +====DUST SETTINGS====
 +"​Dust"​ is the technical term for an amount of coin left over from an incomplete sell that is too small for the bot to sell on the exchange because it falls below their minimum sell amount. If the available balance of a coin is worth less than the dust threshold we ignore it. This allows the bot to make new buys for that coin and it will add the dust amount to the new purchase \\
 +
 +**NOTE**: You do not have to include this parameter ​for Most exchanges as actual ​dust values are retrieved directly on a per coin basis from the exchange. Some coins could be bought using a lower dust value, while some others require a higher value. The default values below will cover all coins that the exchange does not send us a value for automatically.\\
 +
 +[[exchanges#​Binance]]
 +[[exchanges#​Bittrex]]
 +[[exchanges#​Bitmex]]
 +[[exchanges#​Kucoin]]
 +[[exchanges#​Huobi]]
  
 \\ \\
  • pairs.properties.1527844585.txt.gz
  • Last modified: 8 months ago
  • by sgtbatten