From 82fe20fbba448543249ba9f1f1593b22aed187ff Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 30 Dec 2021 13:46:41 +0800 Subject: [PATCH] update setup script --- scripts/setup-bollgrid.sh | 15 +-------------- scripts/setup-grid.sh | 15 +-------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/scripts/setup-bollgrid.sh b/scripts/setup-bollgrid.sh index b8f4e5055..359860abf 100755 --- a/scripts/setup-bollgrid.sh +++ b/scripts/setup-bollgrid.sh @@ -23,7 +23,7 @@ function info() osf=$(uname | tr '[:upper:]' '[:lower:]') arch=amd64 -version=v1.18.0 +version=v1.21.1 dist_file=bbgo-$version-$osf-$arch.tar.gz info "downloading..." @@ -65,19 +65,6 @@ fi cat < bbgo.yaml --- -riskControls: - sessionBased: - max: - orderExecutor: - bySymbol: - BTCUSDT: - # basic risk control order executor - basic: - minQuoteBalance: 100.0 - maxBaseAssetBalance: 3.0 - minBaseAssetBalance: 0.0 - maxOrderAmount: 1000.0 - exchangeStrategies: - on: max bollgrid: diff --git a/scripts/setup-grid.sh b/scripts/setup-grid.sh index 5d4d884f4..b004798d5 100755 --- a/scripts/setup-grid.sh +++ b/scripts/setup-grid.sh @@ -23,7 +23,7 @@ function info() osf=$(uname | tr '[:upper:]' '[:lower:]') arch=amd64 -version=v1.19.2 +version=v1.21.1 dist_file=bbgo-$version-$osf-$arch.tar.gz info "downloading..." @@ -67,19 +67,6 @@ fi cat < bbgo.yaml --- -riskControls: - sessionBased: - max: - orderExecutor: - bySymbol: - BTCUSDT: - # basic risk control order executor - basic: - minQuoteBalance: 100.0 - maxBaseAssetBalance: 3.0 - minBaseAssetBalance: 0.0 - maxOrderAmount: 1000.0 - exchangeStrategies: - on: max grid: