mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add GMTUSDT pivoshot config with binance margin
This commit is contained in:
parent
40d44078dc
commit
0b896e667f
44
config/pivotshort-GMTUSDT.yaml
Normal file
44
config/pivotshort-GMTUSDT.yaml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
---
|
||||||
|
sessions:
|
||||||
|
binance:
|
||||||
|
exchange: binance
|
||||||
|
envVarPrefix: binance
|
||||||
|
margin: true
|
||||||
|
isolatedMargin: true
|
||||||
|
isolatedMarginSymbol: GMTUSDT
|
||||||
|
# futures: true
|
||||||
|
|
||||||
|
exchangeStrategies:
|
||||||
|
- on: binance
|
||||||
|
pivotshort:
|
||||||
|
symbol: GMTUSDT
|
||||||
|
interval: 5m
|
||||||
|
|
||||||
|
pivotLength: 120
|
||||||
|
|
||||||
|
entry:
|
||||||
|
immediate: true
|
||||||
|
catBounceRatio: 1%
|
||||||
|
quantity: 20
|
||||||
|
numLayers: 3
|
||||||
|
marginOrderSideEffect: borrow
|
||||||
|
|
||||||
|
exit:
|
||||||
|
takeProfitPercentage: 13%
|
||||||
|
stopLossPercentage: 0.5%
|
||||||
|
shadowTakeProfitRatio: 3%
|
||||||
|
marginOrderSideEffect: repay
|
||||||
|
|
||||||
|
|
||||||
|
backtest:
|
||||||
|
sessions:
|
||||||
|
- binance
|
||||||
|
startTime: "2022-05-25"
|
||||||
|
endTime: "2022-06-03"
|
||||||
|
symbols:
|
||||||
|
- GMTUSDT
|
||||||
|
account:
|
||||||
|
binance:
|
||||||
|
balances:
|
||||||
|
GMT: 3_000.0
|
||||||
|
USDT: 3_000.0
|
Loading…
Reference in New Issue
Block a user