mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +00:00
add minimal config for example
This commit is contained in:
parent
8e932b3f43
commit
6dcb6df7c1
|
@ -120,7 +120,7 @@ Now add your config:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir 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`
|
Add your strategy package path to the config file `config/bbgo.yaml`
|
||||||
|
|
10
config/minimal.yaml
Normal file
10
config/minimal.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
exchangeStrategies:
|
||||||
|
- on: max
|
||||||
|
xpuremaker:
|
||||||
|
symbol: MAXUSDT
|
||||||
|
numOrders: 2
|
||||||
|
side: both
|
||||||
|
behindVolume: 1000.0
|
||||||
|
priceTick: 0.01
|
||||||
|
baseQuantity: 100.0
|
Loading…
Reference in New Issue
Block a user