strategy/supertrend: update example config

This commit is contained in:
Andy Cheng 2022-08-15 18:10:56 +08:00
parent f2f9e8c2bf
commit f288e47270

View File

@ -36,12 +36,12 @@ exchangeStrategies:
symbol: BTCUSDT
# interval is how long do you want to update your order price and quantity
interval: 5m
interval: 1m
# ATR window used by Supertrend
window: 39
window: 34
# ATR Multiplier for calculating super trend prices, the higher, the stronger the trends are
supertrendMultiplier: 4.1
supertrendMultiplier: 4
# leverage uses the account net value to calculate the order qty
leverage: 1.0
@ -49,13 +49,13 @@ exchangeStrategies:
#quantity: 0.5
# fastDEMAWindow and slowDEMAWindow are for filtering super trend noise
fastDEMAWindow: 144
slowDEMAWindow: 169
fastDEMAWindow: 40
slowDEMAWindow: 49
# Use linear regression as trend confirmation
linearRegression:
interval: 5m
window: 80
interval: 1m
window: 74
# TP according to ATR multiple, 0 to disable this
TakeProfitAtrMultiplier: 0
@ -77,28 +77,17 @@ exchangeStrategies:
- roiStopLoss:
percentage: 4.5%
- protectiveStopLoss:
activationRatio: 4%
stopLossRatio: 2%
activationRatio: 3%
stopLossRatio: 2.5%
placeStopOrder: false
- protectiveStopLoss:
activationRatio: 6%
stopLossRatio: 3%
placeStopOrder: false
- protectiveStopLoss:
activationRatio: 10%
stopLossRatio: 8%
activationRatio: 7%
stopLossRatio: 3.5%
placeStopOrder: false
- trailingStop:
callbackRate: 3%
#activationRatio: 20%
minProfit: 10%
callbackRate: 4.5%
#activationRatio: 40%
minProfit: 9.5%
interval: 1m
side: buy
closePosition: 100%
- trailingStop:
callbackRate: 3%
#activationRatio: 20%
minProfit: 10%
interval: 1m
side: sell
side: both
closePosition: 100%