mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
16 lines
356 B
YAML
16 lines
356 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
|
|
dryRun: true
|
|
onStart: true
|