bbgo_origin/config/rebalance.yaml

42 lines
796 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:
2023-10-31 05:53:12 +00:00
- BTCUSDT
- ETHUSDT
- MAXUSDT
2022-10-28 07:15:55 +00:00
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:
2023-10-31 05:53:12 +00:00
cronExpression: "@every 1s"
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%
2023-03-14 06:37:54 +00:00
USDT: 25%
2022-10-28 07:15:55 +00:00
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
2023-10-31 05:53:12 +00:00
dryRun: true
2023-03-14 06:37:54 +00:00
onStart: true