bbgo_origin/config/rebalance.yaml

43 lines
794 B
YAML
Raw Normal View History

2021-12-12 09:19:27 +00:00
---
notifications:
slack:
defaultChannel: "bbgo"
errorChannel: "bbgo-error"
switches:
trade: true
orderUpdate: true
submitOrder: true
2021-12-12 09:19:27 +00:00
2022-10-28 07:15:55 +00:00
backtest:
startTime: "2022-01-01"
endTime: "2022-10-01"
symbols:
- BTCUSDT
- ETHUSDT
- MAXUSDT
account:
max:
makerFeeRate: 0.075%
takerFeeRate: 0.075%
balances:
BTC: 0.0
ETH: 0.0
MAX: 0.0
USDT: 10000.0
2021-12-12 09:19:27 +00:00
exchangeStrategies:
- on: max
rebalance:
2022-03-23 15:52:59 +00:00
interval: 1d
2022-10-28 07:15:55 +00:00
quoteCurrency: USDT
2021-12-20 15:27:03 +00:00
targetWeights:
2022-10-28 07:15:55 +00:00
BTC: 50%
ETH: 25%
MAX: 15%
USDT: 10%
threshold: 1%
2023-03-02 07:56:25 +00:00
maxAmount: 1_000 # max amount to buy or sell per order
orderType: LIMIT_MAKER # LIMIT, LIMIT_MAKER or MARKET
2022-03-23 15:52:59 +00:00
dryRun: false
2023-03-13 14:43:42 +00:00
onStart: false