mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
29 lines
628 B
YAML
29 lines
628 B
YAML
---
|
|
persistence:
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
db: 0
|
|
|
|
exchangeStrategies:
|
|
|
|
- on: max
|
|
bollpp:
|
|
symbol: ETHUSDT
|
|
interval: 5m
|
|
quantity: 0.005
|
|
|
|
# spread: sell price = middle price + spread, buy price = middle price - spread
|
|
# you need to ensure that the spread can cover your trading fee
|
|
# for example, the trading fee on binance is 0.075%, so the total fee of your buy/sell orders is 0.075% * 2 = 0.14%
|
|
spread: 0.01%
|
|
defaultBollinger:
|
|
interval: "5m"
|
|
window: 21
|
|
bandWidth: 2.0
|
|
neutralBollinger:
|
|
interval: "5m"
|
|
window: 21
|
|
bandWidth: 1.0
|
|
|