mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
22 lines
452 B
YAML
22 lines
452 B
YAML
---
|
|
exchangeStrategies:
|
|
- on: max
|
|
fixedmaker:
|
|
interval: 5m
|
|
symbol: BTCUSDT
|
|
halfSpreadRatio: 0.05%
|
|
quantity: 0.005
|
|
dryRun: false
|
|
|
|
- on: max
|
|
rebalance:
|
|
interval: 1h
|
|
quoteCurrency: USDT
|
|
targetWeights:
|
|
BTC: 50%
|
|
USDT: 50%
|
|
threshold: 2%
|
|
maxAmount: 200 # max amount to buy or sell per order
|
|
orderType: LIMIT_MAKER # LIMIT, LIMIT_MAKER or MARKET
|
|
dryRun: false
|