mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +00:00
add ETHUSDT for testing pivotshort
This commit is contained in:
parent
1bfc125a52
commit
a5e2c84434
40
config/pivotshort-ETHUSDT.yaml
Normal file
40
config/pivotshort-ETHUSDT.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
sessions:
|
||||
binance:
|
||||
exchange: binance
|
||||
envVarPrefix: binance
|
||||
margin: true
|
||||
# isolatedMargin: true
|
||||
# isolatedMarginSymbol: ETHUSDT
|
||||
|
||||
exchangeStrategies:
|
||||
- on: binance
|
||||
pivotshort:
|
||||
symbol: ETHUSDT
|
||||
interval: 5m
|
||||
|
||||
pivotLength: 120
|
||||
|
||||
entry:
|
||||
quantity: 10.0
|
||||
marginOrderSideEffect: borrow
|
||||
|
||||
exit:
|
||||
takeProfitPercentage: 25%
|
||||
stopLossPercentage: 1%
|
||||
lowerShadowRatio: 0.95
|
||||
marginOrderSideEffect: repay
|
||||
|
||||
|
||||
backtest:
|
||||
sessions:
|
||||
- binance
|
||||
startTime: "2022-04-01"
|
||||
endTime: "2022-06-03"
|
||||
symbols:
|
||||
- ETHUSDT
|
||||
account:
|
||||
binance:
|
||||
balances:
|
||||
ETH: 10.0
|
||||
USDT: 3000.0
|
Loading…
Reference in New Issue
Block a user