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/11/25 23:38]
armchairguru
pairs.properties [2019/01/23 17:23] (current)
taniman
Line 1: Line 1:
-===== pairs.properties ​2.1=====+===== 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 54: 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 72: Line 63:
 [[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#​DEFAULT_A_buy_strategy|DEFAULT_B_buy_strategy]] = RSI\\ [[pairs.properties#​DEFAULT_A_buy_strategy|DEFAULT_B_buy_strategy]] = RSI\\
Line 79: Line 72:
 [[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_A_buy_on_first_signal]] = false\\ 
  
 <​file>#​SELL SETTINGS#</​file>​ <​file>#​SELL SETTINGS#</​file>​
Line 97: 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_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 135: Line 133:
 market = BTC market = BTC
 </​file>​ </​file>​
-Valid values: BTC, ETH, XMR, BNB, NEO, KCS or USDT+Valid values: BTC, ETH, XMR, BNB, NEO, KCSUSDT, 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. NEO AND KCS are valid on Kucoin 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 149: 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 155: 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 277: Line 281:
  
 0 will allow unlimited coins (not recommended) 0 will allow unlimited coins (not recommended)
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 321: Line 329:
 USDT =  \\ USDT =  \\
 HT =  \\ HT =  \\
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 337: 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]]
 +\\
  
 ---- ----
Line 351: 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 362: 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 374: 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 391: 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 402: 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 420: 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 436: 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 553: 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 560: 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 577: 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 617: 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 685: Line 786:
  
 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]].
- 
  
 \\ \\
Line 719: Line 819:
  
 ---- ----
- 
 == DEFAULT_A_sell_strategy == == DEFAULT_A_sell_strategy ==
  
Line 727: 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 734: 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 749: 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]]
 +\\
  
 ---- ----
Line 787: Line 896:
 DEFAULT_A_sell_value_limit = 15 \\ DEFAULT_A_sell_value_limit = 15 \\
 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]]
 +\\
  
 ---- ----
Line 800: 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]]
 +\\
  
 ---- ----
Line 826: Line 943:
 **Note** **Note**
   - 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]]
 +\\
  
 ---- ----
Line 842: Line 963:
  
 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]]
 +\\
  
 ---- ----
Line 856: Line 981:
  
 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]]
 +\\
  
 ---- ----
Line 868: 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 892: 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 904: 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 918: 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 936: Line 1143:
   - 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#​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 955: Line 1166:
   - 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#​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 970: Line 1185:
 **Note:** **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]]   - (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]]
 +\\
  
 ---- ----
Line 983: Line 1221:
  
 Default value is true if not set. Default value is true if not set.
 +
 +\\
 +[[pairs.properties|TOP]]
 +\\
  
 ---- ----
Line 1001: 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 1013: 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 1049: 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 1062: 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 1076: 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 1090: 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 1104: 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 1118: 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 1132: 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 1161: Line 1485:
 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]]
 +\\
  
 ---- ----
Line 1176: Line 1503:
 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]]
 +\\
  
 ---- ----
- 
  
 ====DUST SETTINGS==== ====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 \\ "​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 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.\\+**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.\\
  
-===Bittrex=== +[[exchanges#Binance]] 
-[[mandatory_settings#optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] +[[exchanges#​Bittrex]] 
- +[[exchanges#Bitmex]] 
-Bittrex ​settings are variable as they are based on a min trade of 100000 satoshis.  +[[exchanges#​Kucoin]] 
-<file java> +[[exchanges#​Huobi]]
-BTC_dust = 0.000999 +
-ETH_dust = 0.01 +
-USDT_dust = 9.99 +
-</​file>​ +
- +
- +
-===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=== +
-<file java> +
-BTC_dust = 0.000105 +
-ETH_dust = 0.0007 +
-XMR_dust = 0.0002 +
-USDT_dust = 1 +
-</​file>​ +
- +
-=== Kucoin ​=== +
-Kucoin dust values are variable but are quite low. The bot will warn you if your settings are not going to work. +
-<file java> +
-BTC_dust =  +
-ETH_dust =  +
-NEO_dust = +
-USDT_dust =  +
-KCS_dust = +
-</​file>​+
  
 \\ \\
  • pairs.properties.1543189107.txt.gz
  • Last modified: 8 weeks ago
  • by armchairguru