add minimal config for example

This commit is contained in:
c9s 2020-10-27 20:38:56 +08:00
parent 8e932b3f43
commit 6dcb6df7c1
2 changed files with 11 additions and 1 deletions

View File

@ -120,7 +120,7 @@ Now add your config:
```
mkdir config
(cd config && curl -o bbgo.yaml https://raw.githubusercontent.com/c9s/bbgo/main/config/buyandhold.yaml)
(cd config && curl -o bbgo.yaml https://raw.githubusercontent.com/c9s/bbgo/main/config/minimal.yaml)
```
Add your strategy package path to the config file `config/bbgo.yaml`

10
config/minimal.yaml Normal file
View File

@ -0,0 +1,10 @@
---
exchangeStrategies:
- on: max
xpuremaker:
symbol: MAXUSDT
numOrders: 2
side: both
behindVolume: 1000.0
priceTick: 0.01
baseQuantity: 100.0