Merge pull request #754 from andycheng123/refactor/optimizer-config

optimizer: refactor max num of process in optimizer configs
This commit is contained in:
Yo-An Lin 2022-06-21 14:38:41 +08:00 committed by GitHub
commit 41a3d92b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 # go run ./cmd/bbgo optimize --config bollmaker_ethusdt.yaml --optimizer-config optimizer.yaml --debug
# #
--- ---
maxThread: 10 executor:
type: local
local:
maxNumberOfProcesses: 10
matrix: matrix:
- type: iterate - type: iterate
path: '/exchangeStrategies/0/bollmaker/interval' 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 # 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: matrix:
- type: iterate - type: iterate