mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
add release test script
This commit is contained in:
parent
5f01acaece
commit
c1c2b03c90
|
@ -15,6 +15,14 @@ sessions:
|
||||||
exchange: max
|
exchange: max
|
||||||
envVarPrefix: max
|
envVarPrefix: max
|
||||||
|
|
||||||
|
kucoin:
|
||||||
|
exchange: kucoin
|
||||||
|
envVarPrefix: kucoin
|
||||||
|
|
||||||
|
okex:
|
||||||
|
exchange: okex
|
||||||
|
envVarPrefix: okex
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
# userDataStream is used to sync the trading data in real-time
|
# userDataStream is used to sync the trading data in real-time
|
||||||
# it uses the websocket connection to insert the trades
|
# it uses the websocket connection to insert the trades
|
||||||
|
@ -31,6 +39,8 @@ sync:
|
||||||
- binance
|
- binance
|
||||||
- binance_margin_dotusdt
|
- binance_margin_dotusdt
|
||||||
- max
|
- max
|
||||||
|
- okex
|
||||||
|
- kucoin
|
||||||
|
|
||||||
# symbols is the list of symbols you want to sync
|
# symbols is the list of symbols you want to sync
|
||||||
# by default, BBGO try to guess your symbols by your existing account balances.
|
# by default, BBGO try to guess your symbols by your existing account balances.
|
||||||
|
@ -47,6 +57,6 @@ sync:
|
||||||
marginAssets:
|
marginAssets:
|
||||||
- USDT
|
- USDT
|
||||||
|
|
||||||
# depositHistory: true
|
depositHistory: true
|
||||||
# rewardHistory: true
|
rewardHistory: true
|
||||||
withdrawHistory: true
|
withdrawHistory: true
|
||||||
|
|
4
scripts/release-test.sh
Normal file
4
scripts/release-test.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
dotenv -f .env.local.mysql -- go run ./cmd/bbgo sync --session binance --config config/sync.yaml
|
||||||
|
dotenv -f .env.local.sqlite -- go run ./cmd/bbgo sync --session binance --config config/sync.yaml
|
Loading…
Reference in New Issue
Block a user