This is an old revision of the document!


버젼 1 설정은 여기에서

처음으로 봇을 구동한 이후 Initialization 폴더 내의 설정 파일을 한번 로드하고 나면 향후 모든 설정 변경은 웹 인터페이스 Config를 통해야 가능합니다.

여기서는 pairs.properties 파일의 DEFAULT_DCA_enabled 옵션에 의해 결정되는 DCA 페이지 내 코인의 매도/매수 작동을 조정하는 설정을 포함합니다.


비디오 가이드

준비중!


Dollar Cost Averaging

DCA란 무엇인가? 짧게 말해서 하락장에서 코인의 평균 매수 단가를 낮추는 방법을 말하는 것으로 이 평균 단가가 향후 상승시에 수익 회복이 쉽도록 도와 줍니다.(일명 물타기) 좀 더 길고 상세한 설명은 여기 를 참고하세요. DCA를 쓸 경우 코인을 갖고 있는 기간이 더 늘어나고 상당히 많은 코인을 소유하게 됩니다.


DCA 에서 코인의 흐름

만약 DEFAULT_DCA_enabled = true 일 경우나 수익율이 DEFAULT_DCA_enabled = -x 에서 지정한 x 값만큼 내려갈 때 코인은 즉시 DCA Log 로 들어가게 됩니다. 여기에서는 지정한 DCA 하락 지표 이상으로 수익이 다시 올라가고 한번 더 DCA 물타기가 이루어지지 않을 경우에만 Pairs Log 로 코인이 돌아가게 됩니다.

버젼 2.0에서 새로워진 점은 각 물타기 횟수에 따라서 구입량을 설정할 수 있게 된 점입니다. DEFAULT_DCA_buy_percentage 옵션을 통해 각 매수 시점에서 얼만큼 매수를 할지 설정할 수 있습니다. 예를 들면:

DEFAULT_DCA_buy_percentage_1 = 100
DEFAULT_DCA_buy_percentage_2 = 75
DEFAULT_DCA_buy_percentage_3 = 50

DEFAULT_DCA_buy_percentage_50 = 2

위의 경우 처음 물타기를 할 경우 현재 코인의 100% 양만큼 구매하게 되고, 두번째는 75%, 세번째는 50% 의 양을 구입하게 됩니다. 최대 50번째까지의 buy_percentage 양을 지정할 수 있지만 DEFAULT_DCA_max_buy_times 옵션에서 지정한 물타기 횟수만큼만 지정해야 합니다.

각 항목을 눌러 이동할 수 있습니다.


Legend

Coin Specific - click for more info 코인별 설정 - 이 옵션은 개별 코인에 적용될 수 있습니다.
Optional - click for more info 선택 사항 - 이 옵션은 봇 작동에 필수 옵션은 아닙니다.
Caution - click for more info 주의 - 이 옵션은 잘못 사용할 경우 즉각적인 손실을 입힐 수 있습니다.
DCA level specific - click for more info DCA 단계별 설정 - 이 옵션은 DCA 단계마다 설정될 수 있습니다.


DCA.properties 파일 설정 예

각 옵션에 대한 설명을 보려면 클릭해 보세요.

#일반 설정#

DEFAULT_DCA_max_cost = 0.3
DEFAULT_DCA_max_buy_times = 3
DCA_keep_balance = 0
DCA_keep_balance_percentage = 0

#매수 필터 옵션#

DEFAULT_DCA_min_buy_volume = 300
DEFAULT_DCA_max_buy_spread = 1.0
DEFAULT_DCA_min_orderbook_volume_percentage = 150

DEFAULT_DCA_rebuy_timeout = 15
DEFAULT_DCA_buy_min_change_percentage = 0
DEFAULT_DCA_buy_max_change_percentage = 0

DEFAULT_DCA_ignore_sell_only_mode = false

#매수 설정#

DEFAULT_DCA_A_buy_strategy = EMAGAIN
DEFAULT_DCA_A_buy_value_1 = -0.50
DEFAULT_DCA_A_buy_value_limit = -2.5

DEFAULT_DCA_B_buy_strategy = RSI
DEFAULT_DCA_B_buy_value = 35
DEFAULT_DCA_B_buy_value_limit = 5

DEFAULT_DCA_buy_trigger = -2.5
SOM_DCA_buy_trigger = -3.5
DEFAULT_DCA_trailing_buy = 0.3
DEFAULT_DCA_buy_percentage = 100

#매도 설정#

DEFAULT_DCA_A_sell_strategy = GAIN
DEFAULT_DCA_A_sell_value = 1
DEFAULT_DCA_A_sell_value_1 = 0.95
DEFAULT_DCA_A_sell_value_2 = 0.85
DEFAULT_DCA_A_sell_value_3 = 0.75

#DEFAULT_DCA_B_sell_strategy = RSI
#DEFAULT_DCA_B_sell_value = 65

DEFAULT_DCA_trailing_profit = 0.25

DCA_orderbook_profit_calculation = true
DEFAULT_DCA_max_profit = 0
DEFAULT_DCA_take_profit_percentage = 0.5
DEFAULT_DCA_take_profit_reset_percentage_move = 0.2
DEFAULT_DCA_take_profit_wait_time = 30

DEFAULT_DCA_pending_order_wait_time = 0

DEFAULT_DCA_stop_loss_trigger = 0
DEFAULT_DCA_stop_loss_timeout = 0


일반 설정

DEFAULT_DCA_max_cost
DEFAULT_DCA_max_cost = 0

Coin Specific - click for more info

유효한 값: 0 이상의 10진수

DCA로 코인 하나를 매수할 때 쓸 수 있는 최대 금액(해당 마켓의 통화금액)을 정의. 0일 경우 제한 없음.


DEFAULT_DCA_max_buy_times
DEFAULT_DCA_max_buy_times = 0

Coin Specific - click for more infoOptional - click for more info

유효한 값: 0 이상의 정수

DCA 전략으로 코인을 구입할 수 있는 최대 횟수 정의. 0일 경우 제한 없음. 주의해서 사용하세요!


DCA_keep_balance
DCA_keep_balance = 0.5

Optional - click for more info

유효한 값: 0 이상의 10진수

여기 지정한 금액 이하로 잔고가 남지 않도록 DCA할 수 있는 금액을 제한. 위 예를 들자면 BTC를 거래한다고 할 경우 계좌에 잔고 0.5 BTC를 남겨두고 DCA를 진행하게 됩니다.

참고:

  • 여기서는 위 옵션의 경우 DCA 매수만 제한하게 됩니다. 코인의 초기 매수 시 잔고 금액을 제한하기 원할 경우 pairs.properties에 있는 동일한 옵션을 사용할 수 있습니다.

DCA_keep_balance_percentage
DCA_keep_balance_percentage = 60

Optional - click for more info

유효한 값: 0 이상의 10진수

만약 잔고가 TCV(Total Current Value)의 지정한 % 이하로 내려갈 경우 DCA 를 실행하지 않음..

예: 잔고의 60%는 남겨두고 DCA를 하고자 할 경우 이 값을 60으로 설정.

참고:

  1. 이 값은 DCA_keep_balance = 0 일 경우에만 작동함.
  2. 이 옵션은 ProfitTrailer 의 DCA 매수만을 중단시킵니다. 일반 매수의 경우 pairs.properties 파일에 동일한 옵션이 존재합니다.

TOP


필터링 옵션

DEFAULT_DCA_min_buy_volume
DEFAULT_DCA_min_buy_volume = 500

Coin Specific - click for more infoOptional - click for more info

유효한 값: 0 이상의 10진수.

지정한 값 이하의 24시간 거래량(볼륨)을 가진 코인을 제외. 여기서 볼륨이란 기본 통화로 지정됩니다. 예를 들어 BTC 거래의 경우 500으로 지정할 경우 24시간 볼륨이 500 BTC인 경우를 말합니다. USDT 거래의 경우, 500 은 $500 을 의미합니다. (따라서 해당 거래소의 마켓에 따라 볼륨 값을 조정해 줘야 합니다.)

거래량이 낮은 코인을 거래하는 것은 좀 더 위험해 지는데 이것은 거래하는 상대방이 적기 때문에 해당 코인을 빨리 매도 혹은 매수하는 것이 어렵고 따라서 가격에 부정적인 영향을 끼치기 때문입니다.


DEFAULT_DCA_max_buy_spread
DEFAULT_DCA_max_buy_spread = 2

Coin Specific - click for more infoOptional - click for more info

Valid Values: decimal number greater than or equal to 0.

Do not DCA coins where the current 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.


DEFAULT_DCA_min_orderbook_volume_percentage
DEFAULT_DCA_min_orderbook_volume_percentage = 150

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal value equal to or greater than 0.

Only place a buy order if there's enough volume in order book to fill the order. This helps against partial buys.

100 means there should be at least 100% of the amount we want to buy in the orderbook. 150 means there should be 150% of the amount we want to buy in the orderbook to issue the buy order. So if you need 5 coins at price A, using 150, the orderbook should have at least 7.5 coins at price A.

Note:

  1. Avoid using less than 100 unless your DEFAULT_initial_cost is well above dust levels.

DEFAULT_DCA_rebuy_timeout
DEFAULT_DCA_rebuy_timeout = 10

Coin Specific - click for more infoOptional - click for more info

Valid Values: Integers greater than or equal to 0

Set the amount of minutes that the bot is not allowed to buy a coin (initial or DCA buy) after it was DCA'd/sold.


DEFAULT_DCA_buy_min_change_percentage
DEFAULT_DCA_buy_min_change_percentage = 0

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal Values

Do not DCA a coin if the 24 hour percentage change is below the set value.

Example:
DEFAULT_DCA_buy_min_change_percentage = 3.5 –> Only buy a coin if the 24 hour change is above 3.5%
DEFAULT_DCA_buy_min_change_percentage = -2 –> Only buy a coin if the 24 hour change is above -2%


DEFAULT_DCA_buy_max_change_percentage
DEFAULT_DCA_buy_max_change_percentage = 0

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal Values

Do not DCA a coin if the 24 hour percentage change is above the set value.

Example:
DEFAULT_DCA_buy_max_change_percentage = 8 –> Only buy a coin if the 24 hour change is below 8%
DEFAULT_DCA_buy_max_change_percentage = -1 –> Only buy a coin if the 24 hour change is below -1%


DEFAULT_DCA_ignore_sell_only_mode
DEFAULT_DCA_ignore_sell_only_mode = false

Coin Specific - click for more infoOptional - click for more info

Valid Values: true or false

Set this value to true to allow DCA to continue buying even if the bot is in Sell Only Mode. This is often used when you want the bot to stop buying new coins, but continue to DCA and attempt to get rid of existing coins.

TOP


BUY SETTINGS

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, E and so on. e.g DEFAULT_B_buy_strategy. ALL relevant B parameters will also be required.


DEFAULT_DCA_A_buy_strategy
DEFAULT_DCA_A_buy_strategy = LOWBB

Coin Specific - click for more info

Valid Values: LOWBB, HIGHBB, EMAGAIN, EMASPREAD, EMACROSS, SMAGAIN, SMASPREAD, SMACROSS, LOSS, STOCH, STOCHRSI, RSI, MACD, BBWIDTH, OBV, ANDERSON or DISABLED (See the Buy and Sell Strategies page for more info on each setting.)

Define a strategy to be used when buying more of a coin.

Notes:

  1. If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C.
  2. The designators used do not need to be in order. e.g B and D can be used instead of A and B.

DEFAULT_DCA_A_buy_value
DEFAULT_DCA_A_buy_value = -20

Coin Specific - click for more infoDCA level specific - click for more info

Valid Values: Positive or negative decimal values depending on the Buy Strategy

The target value that is required for the corresponding buy strategy to be considered true.
Example: for LOWBB, if set to 0 (0%), a buy signal is generated when the price of the coin is equal to or lower than the LOWBB line. If it were set to -5 (-5%), the signal would be generated when the price is 5% below LOWBB.

Remember

Notes:

  1. The unnumbered default parameter will be used if no DCA level specific alternative is configured.
  2. If you are using trailing, the bot will follow the price down further and will not buy immediately. See DEFAULT_DCA_trailing_buy below.

DEFAULT_DCA_A_buy_value_limit
DEFAULT_DCA_A_buy_value_limit = 0

Coin Specific - click for more infoOptional - click for more infoDCA level specific - click for more info

Valid Values: positive or negative decimal values depending on the 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.

If buy_value >= 0 then buy_value_limit > 0
If buy_value < 0 then buy_value_limit < 0

Notes:

  1. The buy_value_limit needs to be further into the buy zone that the buy value otherwise a buy cannot take place.
  2. Trailing will not work beyond the limit.
  3. If you for any reason would want the value “0” as a limit you would need to set a value in close proximity (like 0.01 or -0.01) depending on the buy strategy (RSI for example only allows for positive values).
  4. The unnumbered default parameter will be used if no DCA level specific alternative is configured.

Example: EMASPREAD
DEFAULT_DCA_A_buy_value = 2
DEFAULT_DCA_A_buy_value_limit = 5
The bot will only buy if SPREAD is between 2% and 5%

Example: EMASPREAD
DEFAULT_DCA_A_buy_value = 0.55
DEFAULT_DCA_A_buy_value_limit = 2.5
The bot will only buy if EMASPREAD is between 0.5% and 2.5%

Example: HIGHBB
DEFAULT_DCA_A_buy_value = -20
DEFAULT_DCA_A_buy_value_limit = -45
The bot will only buy if the price is between HIGHBB -20 and HIGHBB -45

Example: HIGHBB
DEFAULT_DCA_A_buy_value = 15
DEFAULT_DCA_A_buy_value_limit = -50
The bot will only buy if the price is between HIGHBB 15 and HIGHBB -50

Example: RSI
DEFAULT_DCA_A_buy_value = 30
DEFAULT_DCA_A_buy_value_limit = 15
The bot will only buy if RSI is between 15 and 30


DEFAULT_DCA_A_buy_on_first_signal
DEFAULT_DCA_A_buy_on_first_signal = false

Coin Specific - click for more infoOptional - click for more info

Valid Values: true or false.

In normal buying a strategy can remain true for a long time even with a small buy zone created using a tight buy_value_limit. To prevent this buy_on_first_signal can be used to switch a strategy back to false a few seconds after it enters the buy zone and becomes true, giving a limited buy opportunity.

Default value is false. Set to true to only permit the bot to buy as soon as a strategy becomes true. The strategy will change to true after crossing into the buy zone. Upon the next refresh of the coin, the strategy will become false again. It will not become true again until it leaves the buy zone and then re-enters it.

In practice, the strategy/strategies on which you use buy_on_first_signal need to be the last to become true as it will only be true momentarily.

If this is used with multiple strategies, then all strategies need to become true in the same refresh.

Example:
DEFAULT_DCA_A_buy_strategy = LOWBB
DEFAULT_DCA_A_buy_value = 15
DEFAULT_DCA_A_buy_on_first_signal = true

DEFAULT_DCA_B_buy_strategy = EMAGAIN
DEFAULT_DCA_B_buy_value = -0.55
The bot will attempt to buy when the price is less than or equal to the line 0.55% below the lowest EMA line and it crosses below the LOWBB 15 value. But, even if LOWBB is still below 15 on the next check, the LOWBB indicator will be set to false. It will need to rise above 15 and then re-enter the buy zone before it is set to true again.

Note:

  1. You cannot use DEFAULT_DCA_trailing_buy with this parameter as the two will prevent the other from working.

—-

DEFAULT_DCA_buy_trigger
DEFAULT_DCA_buy_trigger = -3.5

Coin Specific - click for more infoDCA level specific - click for more info

Valid Values: Decimal values equal to or less than 0.

Set the loss % required before a DCA buy can take place. All configured buy strategies must be true and you must have lost at least this amount.

Note:

  1. The unnumbered default parameter will be used if no DCA level specific alternative is configured.

SOM_DCA_buy_trigger
SOM_DCA_buy_trigger = -5.5

Optional - click for more infoDCA level specific - click for more info

Valid Values: Decimal values equal to or less than 0.

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.

Note:

  1. The unnumbered default parameter will be used if no DCA level specific alternative is configured.

DEFAULT_DCA_trailing_buy
DEFAULT_DCA_trailing_buy = 0.3

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal values equal to or greater than 0.

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.


DEFAULT_DCA_buy_percentage
DEFAULT_DCA_buy_percentage = 100

Coin Specific - click for more infoOptional - click for more infoDCA level specific - click for more info

Valid Values: Decimal values equal to or greater than 0.

Customise the percentage of coins purchased when making a DCA buy in relation to overall coins owned. The set value is the % of the current holding to be purchased at the next DCA level. Set to 100 for the equivalent of version 1.x doubling down each level

Note:

  1. The unnumbered default parameter will be used if no DCA level specific alternative is configured.


TOP


SELL SETTINGS

More than one sell strategy can be used at the same time. To define more than one sell strategy replace A with B, C, D, E and so on. e.g DEFAULT_B_sell_strategy. ALL relevant B parameters will also be required.

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_DCA_A_sell_strategy
DEFAULT_DCA_A_sell_strategy = GAIN

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 page for more info on each setting.)

Define a strategy used to sell coins.

Notes:

  1. If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C.
  2. The designators used do not need to be in order. e.g B and D can be used instead of A and B.

DEFAULT_DCA_A_sell_value
DEFAULT_DCA_A_sell_value = 2

Coin Specific - click for more infoDCA level specific - click for more info

Valid Values: positive or negative decimal numbers depending on the Sell Strategy

The target value that triggers the sell process.

Notes:

  1. The unnumbered default parameter will be used if no DCA level specific alternative is configured.
  2. If you are using trailing the bot will follow the price up further and therefore may not sell immediately. See DEFAULT_trailing_profit below.

DEFAULT_DCA_trailing_profit
DEFAULT_DCA_trailing_profit = 0

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal number greater than or equal to zero.

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 here in A Trailing Story.

Note: DEFAULT_take_profit and DEFAULT_max_profit can trigger a sell without trailing.


DCA_orderbook_profit_calculation
DCA_orderbook_profit_calculation = true

Optional - click for more info

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.

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.


DEFAULT_DCA_max_profit
DEFAULT_DCA_max_profit = 15

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal number greater than or equal to zero.

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


DEFAULT_DCA_take_profit_percentage
DEFAULT_DCA_take_profit_percentage = 0 

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal values greater than or equal to 0.

Set a profit percentage above which the bot will attempt to sell the coin if the price has remained within DEFAULT_DCA_take_profit_reset_percentage_move for DEFAULT_DCA_take_profit_wait_time minutes.

Examples:
DEFAULT_DCA_take_profit_percentage = 0.5
DEFAULT_DCA_take_profit_reset_percentage_move = 0 (or the parameter is deleted/commented out)
DEFAULT_DCA_take_profit_wait_time = 2
If the Profit is above 0.5% and the price does not change for 2 minutes, regardless of sell strategies being true, the bot will attempt to sell the coin.

DEFAULT_DCA_take_profit_percentage = 0.333
DEFAULT_DCA_take_profit_reset_percentage_move = 0.2
DEFAULT_DCA_take_profit_wait_time = 20
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.


DEFAULT_DCA_take_profit_reset_percentage_move
DEFAULT_DCA_take_profit_reset_percentage_move = 0

Coin Specific - click for more infoOptional - click for more info

Valid Values: Decimal values greater than or equal to 0.

Set the % of price deviation allowed from the DEFAULT_DCA_take_profit_percentage before resetting the DEFAULT_DCA_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.


DEFAULT_DCA_take_profit_wait_time
DEFAULT_DCA_take_profit_wait_time = 0

Coin Specific - click for more infoOptional - click for more info

Valid Values: Integer values greater than or equal to 0.

Set the number of minutes to wait while the profit percentage is above DEFAULT_DCA_take_profit_percentage before attempting to sell.


DEFAULT_DCA_pending_order_wait_time
DEFAULT_DCA_pending_order_wait_time = 0

Coin Specific - click for more infoOptional - click for more info

Valid Values: Integer values greater or equal to 0

If x amount of time in minutes has passed since we bought a coin and we have not sold it, create limit sell order for that pair at a price equivalent to your GAIN strategy sell_value. Set to 0 to disable. 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.

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:

  1. Coins that sell from a pending order are not recorded in the sales log. DEFAULT_combined_cancel_pending_trigger in pairs.properties can be used to attempt to cancel pending sales and return them to the pairs/dca log if combined profit reaches the set level.

DEFAULT_DCA_stop_loss_trigger
DEFAULT_DCA_stop_loss_trigger = -10

Coin Specific - click for more infoOptional - click for more infoCaution - click for more info

Valid Values: Decimal values less than or equal to 0

Set the value that will trigger a stop loss order. If the value of a coin drops below the set percentage it will be automatically sold for a loss.

Notes:

  1. Unordered List Itemstop loss positive values are automatically converted to negative value. Stop loss will only occur once DCA is complete.
  2. What is complete?
    1. max_buy_times is reached OR
    2. max_cost is reached OR
    3. there is not enough balance to keep using DCA.

DEFAULT_DCA_stop_loss_timeout
DEFAULT_DCA_stop_loss_timeout = 5

Coin Specific - click for more infoOptional - click for more info

Valid Values: Integers greater than or equal to 0

Set the amount of minutes that the bot is not allowed to buy a coin after it was sold by stop loss trigger.


TOP


Example Usage



DEFAULT_DCA_A_buy_strategy = ANDERSON
 
DEFAULT_DCA_B_buy_strategy = LOWBB
DEFAULT_DCA_B_buy_value = 30
DEFAULT_DCA_B_buy_value_limit = 0
 
DEFAULT_DCA_trailing_buy = 0.3
 
DEFAULT_DCA_buy_percentage_1 = 200
DEFAULT_DCA_buy_trigger_1 = -4
DEFAULT_DCA_buy_percentage_2 = 100
DEFAULT_DCA_buy_trigger_2 = -8
DEFAULT_DCA_buy_percentage_3 = 50
DEFAULT_DCA_buy_trigger_3 = -10.5

DCA a coin if the price is below LOWBB 30 and difference between my average price and the lowest sell order on the exchange is at least the buy_trigger %. Also the price must have trailed up buy 0.3% from the lowest point after both strategies were true. Mind that DEFAULT_DCA_B_buy_value_limit = 0 does not set a limit at 0 but disables the limit.

Depending how many times DCA has occurred the buy percentage is modified as is the target % drop for each level.


DEFAULT_DCA_A_buy_strategy = LOWBB
DEFAULT_DCA_A_buy_value = -20
DEFAULT_DCA_buy_trigger = -2

DCA a coin if difference between my average price and the lowest sell order on the exchange is at least 2% and the lowest sell order is below LOWBB -20.


DEFAULT_DCA_A_buy_strategy = RSI
DEFAULT_DCA_A_buy_value = 30
DEFAULT_DCA_A_buy_value_limit = 0
 
DEFAULT_DCA_B_buy_strategy = EMAGAIN
DEFAULT_DCA_B_buy_value = 0.05
DEFAULT_DCA_B_buy_value_limit = 1.5
 
DEFAULT_DCA_trailing_buy = 0.3
 
DEFAULT_DCA_buy_percentage = 100
DEFAULT_DCA_buy_trigger_1 = -3
DEFAULT_DCA_buy_trigger_2 = -5
DEFAULT_DCA_buy_trigger_3 = -6.65

DCA a coin if RSI is under 30, EMAGAIN is between 0.05% and 1.5% and the difference between my average price and the lowest sell order on the exchange is at least the buy_trigger %. Also the price must have trailed up buy 0.3% from the lowest point after both strategies were true. Mind that DEFAULT_DCA_A_buy_value_limit = 0 does not set a limit at “0” but disables the limit. In this usecase (RSI) “no limit” has the same effect as a limit of 0 would have.

Depending how many times DCA has occurred the buy trigger is modified.


DEFAULT_DCA_A_sell_strategy = GAIN
DEFAULT_DCA_A_sell_value = 0.9

Attempt to sell a coin if we have at least 0.9% profit.


DEFAULT_DCA_A_sell_strategy = GAIN
DEFAULT_DCA_A_sell_value_1 = 0.9
DEFAULT_DCA_A_sell_value_2 = 0.8
DEFAULT_DCA_A_sell_value_3 = 0.75
 
DEFAULT_DCA_B_sell_strategy = HIGHBB
DEFAULT_DCA_B_sell_value = 50

Attempt to sell a coin if we have at least X% profit and the price is above HIGHBB 50.


TOP

  • ko/dca.properties.1527712854.txt.gz
  • Last modified: 13 months ago
  • by shyguy