mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
23 lines
488 B
YAML
23 lines
488 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: buy, sell, last or mid
|
||
|
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
|