add optimizer config

This commit is contained in:
c9s 2022-05-19 18:27:05 +08:00
parent 7056853ecd
commit 11ad34e9f7
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

21
config/optimizer.yaml Normal file
View File

@ -0,0 +1,21 @@
# usage:
#
# go run ./cmd/bbgo optimize --config bollmaker_ethusdt.yaml --optimizer-config optimizer.yaml --debug
#
---
matrix:
- type: iterate
path: '/exchangeStrategies/0/bollmaker/interval'
values: ["1m", "5m", "30m"]
- type: range
path: '/exchangeStrategies/0/bollmaker/amount'
min: 20.0
max: 100.0
step: 10.0
- type: range
path: '/exchangeStrategies/0/bollmaker/spread'
min: 0.1%
max: 0.2%
step: 0.01%