2022-06-09 05:20:51 +00:00
|
|
|
# usage:
|
|
|
|
#
|
2022-06-28 17:22:03 +00:00
|
|
|
# go run ./cmd/bbgo optimize --config config/pivotshort.yaml --optimizer-config config/pivotshort_optimizer.yaml --debug
|
2022-06-09 05:20:51 +00:00
|
|
|
#
|
|
|
|
---
|
2022-06-21 06:18:28 +00:00
|
|
|
executor:
|
|
|
|
type: local
|
|
|
|
local:
|
|
|
|
maxNumberOfProcesses: 10
|
|
|
|
|
2022-06-09 05:20:51 +00:00
|
|
|
matrix:
|
|
|
|
|
2022-06-20 06:52:40 +00:00
|
|
|
- type: iterate
|
|
|
|
label: interval
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/interval'
|
|
|
|
values: [ "1m", "5m", "30m" ]
|
2022-06-09 18:39:14 +00:00
|
|
|
|
2022-06-20 09:18:05 +00:00
|
|
|
- type: range
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/window'
|
|
|
|
label: window
|
|
|
|
min: 100.0
|
|
|
|
max: 200.0
|
|
|
|
step: 20.0
|
2022-06-09 05:20:51 +00:00
|
|
|
|
2022-06-28 17:22:03 +00:00
|
|
|
- type: range
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/breakLow/stopEMARange'
|
|
|
|
label: stopEMARange
|
|
|
|
min: 0%
|
|
|
|
max: 10%
|
|
|
|
step: 1%
|
|
|
|
|
|
|
|
- type: range
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/exits/0/roiStopLoss/percentage'
|
|
|
|
label: roiStopLossPercentage
|
|
|
|
min: 0.5%
|
|
|
|
max: 2%
|
|
|
|
step: 0.1%
|
|
|
|
|
|
|
|
- type: range
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/exits/1/roiTakeProfit/percentage'
|
|
|
|
label: roiTakeProfit
|
|
|
|
min: 10%
|
|
|
|
max: 40%
|
|
|
|
step: 5%
|
|
|
|
|
|
|
|
- type: range
|
2022-06-28 17:31:56 +00:00
|
|
|
path: '/exchangeStrategies/0/pivotshort/exits/2/protectiveStopLoss/activationRatio'
|
|
|
|
label: protectiveStopLoss_activationRatio
|
2022-06-28 17:22:03 +00:00
|
|
|
min: 0.5%
|
|
|
|
max: 3%
|
|
|
|
step: 0.1%
|
|
|
|
|
|
|
|
- type: range
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/exits/4/lowerShadowTakeProfit/ratio'
|
|
|
|
label: lowerShadowTakeProfit_ratio
|
|
|
|
min: 1%
|
|
|
|
max: 10%
|
|
|
|
step: 1%
|
|
|
|
|
|
|
|
- type: range
|
|
|
|
path: '/exchangeStrategies/0/pivotshort/exits/5/cumulatedVolumeTakeProfit/minQuoteVolume'
|
|
|
|
label: cumulatedVolumeTakeProfit_minQuoteVolume
|
2022-06-28 17:31:56 +00:00
|
|
|
min: 3_000_000
|
|
|
|
max: 20_000_000
|
|
|
|
step: 100_000
|