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
pivotLength: 120
2022-06-03 08:38:06 +00:00
entry:
quantity: 3000.0
# 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:
- binance
startTime: "2022-05-01"
endTime: "2022-06-03"
symbols:
- GMTUSDT
account:
binance:
balances:
GMT: 3010.0
USDT: 1000.0