2022-06-09 03:58:58 +00:00
|
|
|
---
|
|
|
|
sessions:
|
|
|
|
binance:
|
|
|
|
exchange: binance
|
|
|
|
envVarPrefix: binance
|
|
|
|
margin: true
|
|
|
|
# isolatedMargin: true
|
|
|
|
# isolatedMarginSymbol: ETHUSDT
|
|
|
|
|
|
|
|
exchangeStrategies:
|
|
|
|
- on: binance
|
|
|
|
pivotshort:
|
|
|
|
symbol: ETHUSDT
|
|
|
|
interval: 5m
|
2022-06-09 09:36:22 +00:00
|
|
|
pivotLength: 200
|
2022-06-09 03:58:58 +00:00
|
|
|
|
2022-06-09 09:36:22 +00:00
|
|
|
# breakLow settings are used for shorting when the current price break the previous low
|
|
|
|
breakLow:
|
|
|
|
ratio: 0.1%
|
|
|
|
quantity: 10.0
|
2022-06-09 10:16:32 +00:00
|
|
|
stopEMARange: 5%
|
|
|
|
stopEMA:
|
|
|
|
interval: 1h
|
|
|
|
window: 99
|
2022-06-09 03:58:58 +00:00
|
|
|
|
2022-06-09 09:36:22 +00:00
|
|
|
bounceShort:
|
2022-06-09 03:58:58 +00:00
|
|
|
quantity: 10.0
|
2022-06-09 09:36:22 +00:00
|
|
|
# stopLossPercentage: 1%
|
|
|
|
numOfLayers: 10
|
|
|
|
layerSpread: 0.1%
|
|
|
|
pivotRatio: 0.1%
|
2022-06-09 03:58:58 +00:00
|
|
|
|
|
|
|
exit:
|
2022-06-09 09:36:22 +00:00
|
|
|
# roiStopLossPercentage is the stop loss percentage of the position ROI (currently the price change)
|
|
|
|
roiStopLossPercentage: 1%
|
|
|
|
|
|
|
|
# roiTakeProfitPercentage is the take profit percentage of the position ROI (currently the price change)
|
|
|
|
roiTakeProfitPercentage: 25%
|
2022-06-09 03:58:58 +00:00
|
|
|
|
2022-06-09 09:36:22 +00:00
|
|
|
# lowerShadowRatio is used to force taking profit when the (lower shadow height / low price) > lowerShadowRatio
|
|
|
|
lowerShadowRatio: 3%
|
|
|
|
|
|
|
|
marginOrderSideEffect: repay
|
2022-06-09 03:58:58 +00:00
|
|
|
|
|
|
|
backtest:
|
|
|
|
sessions:
|
2022-06-09 05:20:51 +00:00
|
|
|
- binance
|
2022-06-09 03:58:58 +00:00
|
|
|
startTime: "2022-04-01"
|
2022-06-09 05:20:51 +00:00
|
|
|
endTime: "2022-06-08"
|
2022-06-09 03:58:58 +00:00
|
|
|
symbols:
|
2022-06-09 05:20:51 +00:00
|
|
|
- ETHUSDT
|
|
|
|
accounts:
|
2022-06-09 03:58:58 +00:00
|
|
|
binance:
|
|
|
|
balances:
|
|
|
|
ETH: 10.0
|
|
|
|
USDT: 3000.0
|