bbgo_origin/pkg/bbgo/testdata/persistence.yaml
2021-05-02 18:16:34 +08:00

29 lines
389 B
YAML

---
sessions:
max:
exchange: max
envVarPrefix: max
binance:
exchange: binance
envVarPrefix: binance
persistence:
json:
directory: testdata
redis:
host: 127.0.0.1
port: 6379
db: 0
mysql:
database: "persistence"
strategies:
- on: max
swing:
symbolPosition:
persistence:
type: json
json:
file: swing.json