bbgo_origin/config/rebalance.yaml
2024-02-23 14:05:25 +08:00

17 lines
407 B
YAML

---
exchangeStrategies:
- on: max
rebalance:
schedule: "@every 1s"
quoteCurrency: TWD
targetWeights:
BTC: 60%
ETH: 30%
TWD: 10%
threshold: 1%
maxAmount: 1_000 # max amount to buy or sell per order
orderType: LIMIT_MAKER # LIMIT, LIMIT_MAKER or MARKET
priceType: MAKER # LAST, MID, TAKER or MAKER
dryRun: true
onStart: true