bbgo_origin/config/pivotshort.yaml

42 lines
683 B
YAML
Raw Normal View History

2022-06-03 16:39:24 +00:00
---
sessions:
binance:
exchange: binance
envVarPrefix: binance
# margin: true
# isolatedMargin: true
# isolatedMarginSymbol: GMTUSDT
# futures: true
exchangeStrategies:
- on: binance
pivotshort:
symbol: GMTUSDT
interval: 5m
2022-06-09 05:20:51 +00:00
pivotLength: 120
2022-06-03 08:38:06 +00:00
entry:
quantity: 3000.0
2022-06-09 05:20:51 +00:00
# marginOrderSideEffect: borrow
2022-06-03 08:38:06 +00:00
exit:
takeProfitPercentage: 25%
stopLossPercentage: 1%
lowerShadowRatio: 0.95
# marginOrderSideEffect: repay
2022-06-03 08:38:06 +00:00
backtest:
sessions:
2022-06-09 05:20:51 +00:00
- binance
startTime: "2022-05-01"
endTime: "2022-06-03"
symbols:
2022-06-09 05:20:51 +00:00
- GMTUSDT
accounts:
binance:
balances:
GMT: 3010.0
USDT: 1000.0