mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
update setup script
This commit is contained in:
parent
f540742b42
commit
82fe20fbba
|
@ -23,7 +23,7 @@ function info()
|
||||||
|
|
||||||
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
||||||
arch=amd64
|
arch=amd64
|
||||||
version=v1.18.0
|
version=v1.21.1
|
||||||
dist_file=bbgo-$version-$osf-$arch.tar.gz
|
dist_file=bbgo-$version-$osf-$arch.tar.gz
|
||||||
|
|
||||||
info "downloading..."
|
info "downloading..."
|
||||||
|
@ -65,19 +65,6 @@ fi
|
||||||
|
|
||||||
cat <<END > bbgo.yaml
|
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:
|
exchangeStrategies:
|
||||||
- on: max
|
- on: max
|
||||||
bollgrid:
|
bollgrid:
|
||||||
|
|
|
@ -23,7 +23,7 @@ function info()
|
||||||
|
|
||||||
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
||||||
arch=amd64
|
arch=amd64
|
||||||
version=v1.19.2
|
version=v1.21.1
|
||||||
dist_file=bbgo-$version-$osf-$arch.tar.gz
|
dist_file=bbgo-$version-$osf-$arch.tar.gz
|
||||||
|
|
||||||
info "downloading..."
|
info "downloading..."
|
||||||
|
@ -67,19 +67,6 @@ fi
|
||||||
|
|
||||||
cat <<END > bbgo.yaml
|
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:
|
exchangeStrategies:
|
||||||
- on: max
|
- on: max
|
||||||
grid:
|
grid:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user