update setup script

This commit is contained in:
c9s 2021-12-30 13:46:41 +08:00
parent f540742b42
commit 82fe20fbba
2 changed files with 2 additions and 28 deletions

View File

@ -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 <<END > 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:

View File

@ -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 <<END > 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: