Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
basesettings [2019/05/04 05:43]
cryptocoyn
basesettings [2019/05/09 03:17] (current)
cryptocoyn
Line 1: Line 1:
 ==== Base Settings ==== ==== Base Settings ====
  
-=== Strategy Intent ​===+<callout type="​question"​ icon="​true"​ title="Strategy Intent">​ 
 +^  Trading Criteria ​ ^  Details ​ ^   
 +^ Market Suitability ​  ​| ​  <​color #​FFBF00>​All markets but will work faster in a bull market when volatility is higher</​color> ​   |\\ 
 +^ Difficulty ​   |   <​color #​22b14c>​Beginner</​color> ​  |\\  
 +^ Strategy Type   ​| ​  ​Scalping ​ |\\ 
 +^ Take Profit ​ |  {{glyphicon>​ok?​12}} ​ |\\ 
 +^ DCA  |  (optional) ​ |\\ 
 +^ Positive DCA  |  {{glyphicon>​remove?​12}} ​ |\\ 
 +^ Pending Orders ​ |  (optional) ​ |\\   
 +^ Trailing Stop Loss  |  {{glyphicon>​ok?​12}} ​ |\\   
 +^ Published ​ |  {{glyphicon>​ok?​12}} ​ |\\ 
 +^ Demo Server ​ |   ​[[https://​base.cryptocoyns.com|{{glyphicon>​cloud?​20}}]] ​ |\\
  
-Ready Set Go+**Note:** 
 +  - Click the [[http://​base.cryptocoyns.com|{{glyphicon>​cloud?​20}}]] cloud icon to view the demo server for this strategy; 
 +  - Note if the cloud icon is showing in red [[#​|{{glyphicon>​cloud?​20}}]] it means the demo server is not available right now; 
 +</​callout>​
  
-=== Strategy Overview ​===+<callout type="​info"​ icon="​true"​ title="Strategy Overview">​ 
 +  * This strategy provides a bare bones set of settings from which you can start to explore the world of automated trading with ProfitTrailer. These settings have all the standard protection mechanisms built into them and all the basic settings you will need to get started.
  
-This strategy ​provides a bare bones set of settings from which you can start to explore the +  * This is a scalping ​strategy ​that aims to be in and out of trades as quickly as possible (depending upon prevailing market conditions at the time) taking small profits along the way.
-world of automated trading with ProfitTrailer. These settings have all the standard protection +
-mechanisms built into them and all the basic settings you will need to get started.+
  
-This is a scalping strategy ​that aims to be in and out of trades as quickly as possible ​(depending upon prevailing market conditions ​at the time) taking small profits along the way.+  * Trading ​is all about carefully considering your options and creating ​trading plan that will match your style of trading ​and risk appetite. This strategy gives you three options to consider: ​  
 +      - whether to use a whitelist ​of specific trading pairs (coins) or just trade all pairs; 
 +      - whether to use Dollar Cost Averaging (DCA) to reduce your trading pairs average price should a trade go bad to bring it back into profit while at the same time increasing your position size; and 
 +      - whether to use Pending Orders to try and recover bad trades without additional investment into them and potentially increase your position size using combined trading pairs when the bot purchases more of the same coin later.
  
-Trading is all about carefully considering your options and creating a trading plan that will match your style of trading and risk appetite. This strategy gives you three options to consider:  ​ 
-  - whether to use a whitelist of specific trading pairs (coins) or just trade all pairs; 
-  - whether to use Dollar Cost Averaging (DCA) to reduce your trading pairs average price should a trade go bad to bring it back into profit while at the same time increasing your position size; and 
-  - whether to use Pending Orders to try and recover bad trades without additional investment into them and potentially increase your position size using combined trading pairs when the bot purchases more of the same coin later. 
  
-**On the Buy Side:**+</​callout>​
  
-This strategy only purchases trading pairs if the 24 hour percentage change is positive+<callout type="​danger"​ icon="​glyphicon glyphicon-search"​ title="​Entry Criteria">​ 
-It looks for pairs that are in their LOWBB range and with low RSI indicating they are oversold.+  * The strategy ​entry criteria ​only purchases trading pairs if the 24 hour percentage change is positive.
  
-One option you have is to use a whitelist of trading ​pairs, here is an example one using the Top 20 trading pairs on CoinMarket Cap. To use it go into the advanced configuration screen and comment out the line that looks like this enabled_pairs = ALL and uncomment the line below it that looks like this: +  * It looks for pairs that are in their LOWBB range and with low RSI indicating they are oversold.
-enabled_pairs = ETH, XRP, BCH, EOS, XLM, LTC, ADA, XMR, TRX, IOTA, NEO, ETC, XEM, XTZ, ZEC, VET, BTG, MKR, OMG, ZRX, DCR, QTUM, ONT, LSK, BAT, TUSD+
  
-It uses a lower initial purchase price of approx. $20 with a large maximum trading pairs value (10) to +  * It uses a lower initial purchase price of approx. $20 with a large maximum trading pairs value (10) to load up the queue of potential trading pairs to be scalped.
-load up the queue of potential trading pairs to be scalped.+
  
-If a trade starts to fail it tries to recover it using both DCA and Pending Orders features to increase your trades position size and attempt to reduce average price to bring the pair back into profit. These are both advanced features and are disabled by default in the base settings.+  * If a trade starts to fail it tries to recover it using both DCA and Pending Orders features to increase your trades position size and attempt to reduce average price to bring the pair back into profit. These are both advanced features and are disabled by default in the base settings. The strategy will run just fine without these optional features enabled and all trading action will happen in the Pairs log. Please see the Strategy Tips below for more details on these optional features.
  
-The strategy will run just fine without these optional features enabled and all trading action will happen in the Pairs log. Note: if you do enable these optional features you run the risk of: +  * Trailing buy is turned on to ensure we buy as close to the bottom of the trade cycle as possible
-  - holding trading pairs for a long time, depending on market conditionsSo please consider which trading pairs you are comfortable holding and consider running a whitelist of those trading pairs only; and +</​callout>​
-  - tying up your trading risk capital for a long time in the trading pairs you choose to hold.+
  
-To enable these optional features you need to uncomment the respective settings for both using the [[web_interface_guide#​config|advanced configuration screen]] as follows: +<callout type="​warning"​ icon="​glyphicon glyphicon-stats" title="Trade Management">​ 
-  * You can choose to enable the advanced feature of Dollar Cost Averaging if you want to do so. Note: this will increase your overall exposure per trade so [[buy_and_sell_logic#​dca_buying|read up on DCA in the Wiki]] and understand what Dollar Cost Averaging does first. To enable it uncomment the line below it that looks like DEFAULT_DCA_enabled ​= -1 and comment out the line above it that looks like this DEFAULT_DCA_enabled ​false. +  * The strategy applies ​the 2% and 10% rules of trading.
-  * You can choose to enable ​the advanced feature ​of Pending Orders if you want to do so. This enables you to have the exchange sell trading ​pairs that have failed to trade successfully this time around and allow you to carry on trading with other trading pairs. [[faq_example_strategies#​what_are_these_pending_orders_all_about|Read up on Pending Orders in the Wiki first]] before you enable it. To enable it comment out the line above it that looks like DEFAULT_pending_order_price_drop_trigger = 0 and uncomment the line below it that looks like this DEFAULT_pending_order_price_drop_trigger = -5.+
  
 +  * Position size is limited to 2% of risk capital per trade.
  
-If enabled the DCA and Pending settings will work as follows: +  ​Only 5 trading ​pairs are active ​at any time to ensure ​no more than 10% of total risk capital ​is employed ​in trading ​at any time.
-  ​If a trading pair starts to fail it tries to recover it quickly with DCA to levels so maximum exposure per trading ​pair is approx. $120 in normal circumstances. When a trade starts to fail your exposure may be greater as it uses dollar cost averaging to try and recover the pair and Pending Orders which will increase position sizes when combined with new purchases of the same trading pair. +
-  * The DCA trigger is set at -1 and uses LOSS to do the buys to ensure ​we are actually reducing the combined average cost of the trading pair. The LOSS is combined with a 10 minute re-buy timeout to ensure we are buying at the lowest possible price. The use of LOSS also prevents us purchasing more of a trading pair if the trading pair starts to rise in value again as doing so (positive DCA) would put us back into a loss situation which the trading ​pair may not recover from. +
-  * Pending Orders are created if the trading pair continues to fail and goes below -5%.+
  
-Trailing ​is turned on to ensure we buy as close to the bottom of the trade cycle as possible.+  * A trailing stop loss is employed rather than a fixed stop loss.
  
-**On the Sell Side:**+  ​Take profit is employed to prevent loss of profits. 
 +</​callout>​
  
-On the sell side it uses a small GAIN percentage and a MACD cross reversal (from positive to negative) +<callout type="​success"​ icon="​glyphicon glyphicon-signal"​ title="​Exit Criteria">​ 
-to determine when to sell.+  * This strategy ​uses a small GAIN percentage and a MACD cross reversal (from positive to negative) to determine when to sell.
  
-It monitors the Pending Orders to see if the pairs can be combined (at 0.25% combined profit) with new +  * It monitors the Pending Orders to see if the pairs can be combined (at 0.25% combined profit) with new purchases of the same trading pair.
-purchases of the same trading pair.+
  
-The strategy also makes use of Take Profit features at 1.25% profit on a 10 minute timeout with 0.25% +  * The strategy also makes use of Take Profit features at 1.25% profit on a 10 minute timeout with 0.25% movement as the trigger.
-movement as the trigger.+
  
-Trailing is turned off as we want the MACD cross to control the sale. We use GAIN to force the trading +  * Trailing is turned off as we want the MACD cross to control the sale. We use GAIN to force the trading pair through the trade cycle again if the MACD cross happens before the GAIN is reached. If we didn't catch it this time we may the next time and failing that, if enabled, the DCA or Pending Orders will catch it. 
-pair through the trade cycle again if the MACD cross happens before the GAIN is reached. If we didn't +</​callout>​
-catch it this time we may the next time and failing that, if enabled, the DCA or Pending Orders will catch it.+
  
-=== Strategy ​Market Conditions ===+<callout type="​tip"​ icon="​true"​ title="Strategy ​Tips">​ 
 +  * When you first start this strategy it may take a long while to load up the Pairs queue depending upon prevailing market conditions so patience is required.
  
-This is a beginner level strategy that will work in all market conditions.+  * One option you have is to use whitelist of trading pairs, here is an example one using the Top 20 trading pairs on CoinMarket CapTo use it go into the advanced configuration screen and comment out the line that looks like this enabled_pairs = ALL and uncomment the line below it that looks like this: enabled_pairs = ETH, XRP, BCH, EOS, XLM, LTC, ADA, XMR, TRX, IOTA, NEO, ETC, XEM, XTZ, ZEC, VET, BTG, MKR, OMG, ZRX, DCR, QTUM, ONT, LSK, BAT, TUSD
  
-=== Strategy Settings ===+  * If you choose to enable the optional advanced features of DCA and Pending Orders you need to uncomment the respective settings for both using the [[web_interface_guide#​config|advanced configuration screen]] as follows: 
 +      * You can choose to enable the advanced feature of Dollar Cost Averaging if you want to do so. Note: this will increase your overall exposure per trade so [[buy_and_sell_logic#​dca_buying|read up on DCA in the Wiki]] and understand what Dollar Cost Averaging does first. To enable it uncomment the line below it that looks like DEFAULT_DCA_enabled ​-1 and comment out the line above it that looks like this DEFAULT_DCA_enabled ​false. 
 +      * You can choose to enable the advanced feature of Pending Orders if you want to do so. This enables you to have the exchange sell trading pairs that have failed to trade successfully this time around and allow you to carry on trading with other trading pairs. [[faq_example_strategies#​what_are_these_pending_orders_all_about|Read up on Pending Orders in the Wiki first]] before you enable it. To enable it comment out the line above it that looks like DEFAULT_pending_order_price_drop_trigger ​0 and uncomment the line below it that looks like this DEFAULT_pending_order_price_drop_trigger ​-5.
  
-== Pairs Buy Strategy == +  * Note: if you do enable these optional features you run the risk of: 
-<file java> +      * holding trading pairs for a long time, depending ​on market conditions. So please consider which trading pairs you are comfortable holding and consider running a whitelist ​of those trading pairs only; and 
-+      * tying up your trading risk capital for a long time in the trading pairs you choose to hold.
-# Are we at the bottom ​of the trade cycle right now? +
-+
-DEFAULT_A_buy_strategy = LOWBB +
-DEFAULT_A_buy_value = 30 +
-DEFAULT_A_buy_value_limit = -30 +
-+
-# Are we currently oversold? +
-+
-DEFAULT_B_buy_strategy = RSI +
-DEFAULT_B_buy_value = 10 +
-DEFAULT_B_buy_value_limit = 0 +
-+
-# Trailing is turned ​on to take us down to the bottom ​of the trade cycle +
-+
-DEFAULT_trailing_buy = 0.25 +
-</​file>​+
  
 +  * If enabled the DCA and Pending settings will work as follows:
 +      * If a trading pair starts to fail it tries to recover it quickly with DCA to 5 levels so maximum exposure per trading pair is approx. $120 in normal circumstances. When a trade starts to fail your exposure may be greater as it uses dollar cost averaging to try and recover the pair and Pending Orders which will increase position sizes when combined with new purchases of the same trading pair.
 +      * The DCA trigger is set at -1 and uses LOSS to do the buys to ensure we are actually reducing the combined average cost of the trading pair. The LOSS is combined with a 10 minute re-buy timeout to ensure we are buying at the lowest possible price. The use of LOSS also prevents us purchasing more of a trading pair if the trading pair starts to rise in value again as doing so (positive DCA) would put us back into a loss situation which the trading pair may not recover from.
 +      * Pending Orders are created if the trading pair continues to fail and goes below -5%.
  
-== Pairs Sell Strategy == +  * The key to this strategy ​is to ensure you do not overextend yourself by getting your max trading ​pairs and initial cost right to suit your trading budget.
-<file java> +
-+
-# What is the minimum profit we want to make on this trade? +
-+
-DEFAULT_A_sell_strategy = GAIN +
-DEFAULT_A_sell_value = 1.25 +
-+
-# Are we overbought or close to being overbought right now? +
-+
-DEFAULT_C_sell_strategy = MACD +
-DEFAULT_C_sell_value = -0.000000001 +
-DEFAULT_C_sell_value_limit = -1 +
-+
-# Trailing ​is turned off as we want the MACD cross to control the sale +
-# We use GAIN to force the trading ​pair through its cycle if the MACD cross +
-# happens before the GAIN is reached. +
-+
-DEFAULT_trailing_profit_type = DEFAULT +
-# 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. +
-DEFAULT_trailing_profit = 0 +
-# Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy. +
-DEFAULT_trailing_profit_rebound_count = 0 +
-</​file>​+
  
-Please refer to the [[pairs.properties|Pairs Config]] for details on all these settings +  ​* Use the [[default_settings#​PTTracker_DCA_Calculator|DCA calculator]] we provide to work these values out covering at least 4 levels of DCA for all your pairs. Once you have those values enter them into this strategy. The [[default_settings#​PTTracker_DCA_Calculator|DCA calculator]] also ensures you have a 50/50 split on your trading budget to ensure you have sufficient budget for the sell side of this strategy. 
- +</​callout>​
- +
-== DCA Buy Strategy == +
-<file java> +
-+
-# Are we overbought or close to being overbought right now? +
-+
-DEFAULT_DCA_A_buy_strategy = LOSS +
-DEFAULT_DCA_A_buy_value = -0.01 +
-DEFAULT_DCA_A_buy_value_limit = -20.0 +
- +
-# Set the loss percentage required before a DCA buy can take place. +
-DEFAULT_DCA_buy_trigger = -1 +
-# Set the loss % required before a DCA buy can take place when SOM is on. +
-# All configured buy strategies must be true and you must have lost at least this amount from your average bought price. +
-SOM_DCA_buy_trigger = -1 +
- +
-+
-# Trailing is turned on to take us down to the bottom of the trade cycle +
-+
-# 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. +
-DEFAULT_DCA_trailing_buy = 0.25 +
-# Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy. +
-DEFAULT_DCA_trailing_buy_rebound_count = 0 +
-</​file>​ +
- +
- +
-== DCA Sell Strategy == +
-<file java> +
-+
-# What is the minimum profit we want to make on this trade? +
-+
-DEFAULT_DCA_A_sell_strategy = GAIN +
-DEFAULT_DCA_A_sell_value = 1.25 +
-+
-# Are we overbought or close to being overbought right now? +
-+
-DEFAULT_DCA_B_sell_strategy = MACD +
-DEFAULT_DCA_B_sell_value = -0.000000001 +
-DEFAULT_DCA_B_sell_value_limit = -1 +
-+
-# Trailing is turned off as we want the MACD cross to control the sale +
-# We use GAIN to force the trading pair through its cycle if the MACD cross +
-# happens before the GAIN is reached. +
-+
-DEFAULT_DCA_trailing_profit_type = DEFAULT +
-DEFAULT_DCA_trailing_profit = 0 +
-DEFAULT_DCA_trailing_profit_rebound_count = 0 +
-</​file>​ +
- +
-Please refer to the [[dca.properties|DCA Config]] for details on all these settings +
- +
-== Indicators == +
-<file java> +
-+
-# BASE SETTINGS INDICATORS +
-+
- +
-# Always uses 5 minute candles +
-SOM_trigger_length = 288 +
- +
-# Define the standard deviation used by all BB calculation +
-BB_std = 2 +
-# Define the period (in seconds) used by all BB calculation +
-BB_candle_period = 1800 +
-# Define the SMA time frame (in candles) used by all BB calculation (Max 500) +
-BB_Length = 20 +
- +
-# Define how many candles back to look and see if the EMA lines just crossed. +
-EMA_cross_candles = 80 +
-# Define the period (in seconds) used to calculate the EMA lines, note exchange API must support this timing +
-EMA_candle_period = 1800 +
-# Define the EMA time frame (in candles) used to calculate the fast EMA line. (Max 500) +
-EMA_fast_length = 2 +
-# Define the EMA time frame (in candles) used to calculate the slow EMA line. (Max 500) +
-EMA_slow_length = 13 +
- +
-# Define the period (in seconds) used to calculate the RSI lines. +
-RSI_candle_period = 1800 +
-# Define the RSI time frame (in candles) used by all RSI calculations +
-RSI_length = 2 +
- +
-# Define the period (in seconds) used to calculate the MACD lines. +
-MACD_candle_period = 1800 +
-# Define the MA time frame (in candles) used to calculate the fast MACD line. +
-MACD_fast_length = 2 +
-# Define the MA time frame (in candles) used to calculate the slow MACD line. +
-MACD_slow_length = 13 +
-# Define the time frame (in days) of the EMA (Exponential Moving Average) of the MACD +
-MACD_signal = 3 +
-</​file>​ +
- +
-Please refer to the [[indicators.properties|Indicators Config]] for details on all these settings +
- +
-=== Strategy Notes === +
- +
-  * When you first start this strategy it may take a long while to load up the Pairs queue depending upon prevailing market conditions so patience is required. +
-  * The key to this strategy is to ensure you do not overextend yourself by getting your max trading pairs and initial cost right to suit your trading budget.  +
-  ​* Use the [[dca_calculator|DCA calculator]] we provide to work these values out covering at least 4 levels of DCA for all your pairs. Once you have those values enter them into this strategy. The [[dca_calculator|DCA calculator]] also ensures you have a 50/50 split on your trading budget to ensure you have sufficient budget for the sell side of this strategy.+
  
 \\ \\
-[[default_settings|TOP]]+[[basesettings|TOP]]
 \\ \\
 ---- ----
- 
  • basesettings.txt
  • Last modified: 13 days ago
  • by cryptocoyn