mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
add optimizer config
This commit is contained in:
parent
7056853ecd
commit
11ad34e9f7
21
config/optimizer.yaml
Normal file
21
config/optimizer.yaml
Normal 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%
|
Loading…
Reference in New Issue
Block a user