Updated DCA.properties (markdown)

taniman 2017-11-23 01:42:39 +01:00
parent cbc27db0e1
commit 6bed1d19f8
1 changed files with 1 additions and 104 deletions

@ -1,104 +1 @@
# Dollar Cost Averaging (Martingale)
Enable or Disable DCA functionality.
`enabled = true`
Define the TOTAL amount a single pair is allowed to cost you when using DCA
If set to 0 this option is ignored and there is no max cost. We will keep DCA until you run out of balance
Example: you set max_cost = 0.01 and you bought 0.005 BTC. Because max_cost is 0.01 you are allowed to double up 1 time.
`max_cost = 0`
Define max amount of times DCA is allowed to buy a pair.
If set to 0 this option is ignored and there is no limit to amount of times DCA buys.
`max_buy_times = 0`
Max spread % between lowest ask and highest bid to allow a new buy order
if spread is too big, most likely there was a coin dump/pump and you are buying too high
`max_buy_spread = 2`
The strategy to use to buy more coins.
'buy_value' indicates the % above (or below if negative) the buy_strategy to execute the buy.
'buy_trigger' indicates how much loss the coin should have *before* activating DCA on it.
`buy_strategy = HIGHBB`
`buy_value = 0`
`buy_trigger = -4`
Allow DCA to buy if there's enough volume in order book to fill the order
This prevent partial buys that might disturb the DCA strategy
100% means there should be at least the amount we wanna buy in the orderbook
150% means. there shoud be 150% of the amount we wanna buy in the orderbook to issue the buy order
So if you need 5 coins at price A..orderbook should have atleast 7.5 coins at price A or lower
`buy_available_volume_trigger = 150`
Set to activate trailing profit when doing DCA
`trailing_profit = 0`
Set to enable trailing buys for all DCA strategies that support it.
`trailing_buy = 0`
Set the value that will trigger a stop loss order
If the value of a coin drops below stop loss trigger, it will be automatically sold
**NOTE: stop loss positive values are automatically converted to negative value**
Stop loss will only hit once DCA is **complete**
What is complete?
max_buy_times is reached or
max_cost is reached or
there is not enough balance to keep using DCA
`stop_loss_trigger = -10`
If x amount of time in minutes has passed since we bought a coin, create a pending order for that pair
`pending_order_wait_time = 0`
Set this value to true to allow DCA to continue buying even if no new buys are allowed.
`ignore_sell_only_mode = false`
Only buy coins if the buy cost will not let your balance go below specified amount
`min_buy_balance = 0.2`
The strategy to use to sell the coins (GAIN)
`sell_strategy = GAIN`
`sell_value = 0.6`
The strategy to use to sell the coins (BB)
sell trigger indicates how much profit the coin should have to even think about activating selling it.
`sell_strategy = HIGHBB`
`sell_value = 20`
`sell_trigger = 0.6`
# Examples usage
* Average down my coins if they have a loss of 6% or more and HIGHBB 0 is lower than the average buy price of my coin
`buy_strategy = HIGHBB`
`buy_value = 0`
`buy_trigger = -6`
* Average down my coins if they have a loss of 2% or more and current price drops below lowbb -20
`buy_strategy = LOWBB`
`buy_value = -20`
`buy_trigger = -2`
* Average down my coins using the ANDERSON strategy
Complete explanation on this page [ANDERSON DCA strategy](https://github.com/taniman/profit-trailer/wiki/ANDERSON-DCA-strategy)
`buy_strategy = ANDERSON`
`buy_style = DOUBLEDOWN`
`buy_trigger_1 = -3.5`
`buy_trigger_2 = -4.5`
`buy_trigger_3 = -4.5`
`buy_trigger_4 = -5.5`
`buy_trigger_5 = -5.5`
* Sell my average down coins if they reach a profit of 0.6%.
`sell_strategy = GAIN`
`sell_value = 0.6`
* Sell my average down coins if price is higher than HIGHBB 35 and we have at least a profit of 0.6%
`sell_strategy = HIGHBB`
`sell_value = 35`
`sell_trigger = 0.6`
### Additional DCA buy strategies
* EMASPREAD
* EMAGAIN
* SMASPREAD
* SMAGAIN
* LOSS
Check [buy and sell strategies](https://github.com/taniman/profit-trailer/wiki/Buying-and-Selling)
Moved to [New wiki](http://wiki.profittrailer.io/doku.php/dca.properties)