mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-14 02:53:50 +00:00
13 lines
549 B
Bash
13 lines
549 B
Bash
#!/bin/bash
|
|
set -e
|
|
echo "testing sync..."
|
|
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
|
|
|
|
echo "backtest sync..."
|
|
echo "backtest mysql sync..."
|
|
dotenv -f .env.local.mysql -- go run ./cmd/bbgo backtest --config config/dca.yaml --sync --sync-only --verify
|
|
|
|
echo "backtest sqlite sync..."
|
|
dotenv -f .env.local.sqlite -- go run ./cmd/bbgo backtest --config config/dca.yaml --sync --sync-only --verify
|