mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
23 lines
500 B
YAML
23 lines
500 B
YAML
---
|
|
exchangeStrategies:
|
|
- on: max
|
|
# automaticaly buy coins when the balance is lower than the threshold
|
|
autobuy:
|
|
symbol: MAXTWD
|
|
schedule: "@every 1s"
|
|
threshold: 200
|
|
# price type: LAST, BUY, SELL, MID, TAKER, MAKER
|
|
priceType: BUY
|
|
|
|
# order quantity or amount
|
|
# quantity: 100
|
|
amount: 800
|
|
|
|
# skip if the price is higher than the upper band
|
|
bollinger:
|
|
interval: 1m
|
|
window: 21
|
|
bandWidth: 2.0
|
|
|
|
dryRun: true
|