optimizer: refactor max num of process config

This commit is contained in:
Andy Cheng 2022-06-21 14:18:28 +08:00
parent 612df45c5e
commit 689a12d80d
2 changed files with 10 additions and 2 deletions

View File

@ -3,7 +3,11 @@
# go run ./cmd/bbgo optimize --config bollmaker_ethusdt.yaml --optimizer-config optimizer.yaml --debug
#
---
maxThread: 10
executor:
type: local
local:
maxNumberOfProcesses: 10
matrix:
- type: iterate
path: '/exchangeStrategies/0/bollmaker/interval'

View File

@ -3,7 +3,11 @@
# go run ./cmd/bbgo optimize --config config/pivotshort-ETHUSDT.yaml --optimizer-config config/pivotshort_optimizer.yaml --debug
#
---
maxThread: 10
executor:
type: local
local:
maxNumberOfProcesses: 10
matrix:
- type: iterate