mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
update readme for helm chart usage
This commit is contained in:
parent
f2f2887dad
commit
16c873ce7d
20
README.md
20
README.md
|
@ -233,10 +233,30 @@ streambook.BindStream(stream)
|
|||
|
||||
## Helm Chart
|
||||
|
||||
Prepare your secret:
|
||||
|
||||
```
|
||||
kubectl create secret generic bbgo --from-env-file .env.local
|
||||
```
|
||||
|
||||
Configure your config file:
|
||||
|
||||
```
|
||||
vim config/bbgo.yaml
|
||||
```
|
||||
|
||||
Install chart:
|
||||
|
||||
```
|
||||
helm install bbgo ./charts/bbgo
|
||||
```
|
||||
|
||||
Delete chart:
|
||||
|
||||
```
|
||||
helm delete bbgo
|
||||
```
|
||||
|
||||
## Support
|
||||
|
||||
### By contributing pull requests
|
||||
|
|
|
@ -15,7 +15,7 @@ nameOverride: ""
|
|||
fullnameOverride: ""
|
||||
|
||||
configmap:
|
||||
file: "config/bollgrid.yaml"
|
||||
file: "config/bbgo.yaml"
|
||||
|
||||
dotenv:
|
||||
secret: "bbgo"
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
---
|
||||
imports:
|
||||
- github.com/c9s/bbgo/pkg/strategy/buyandhold
|
||||
- github.com/c9s/bbgo/pkg/strategy/xpuremaker
|
||||
|
||||
notifications:
|
||||
slack:
|
||||
defaultChannel: "dev-bbgo"
|
||||
|
@ -57,10 +53,21 @@ backtest:
|
|||
USDT: 10000.0
|
||||
|
||||
exchangeStrategies:
|
||||
|
||||
- on: max
|
||||
buyandhold:
|
||||
symbol: "BTCUSDT"
|
||||
interval: "1h"
|
||||
interval: "5m"
|
||||
baseQuantity: 0.01
|
||||
# minDropPercentage: 0.01
|
||||
minDropChange: 100.0
|
||||
|
||||
- on: max
|
||||
grid:
|
||||
symbol: BTCUSDT
|
||||
quantity: 0.001
|
||||
gridNumber: 100
|
||||
profitSpread: 50.0
|
||||
upperPrice: 30000.0
|
||||
lowerPrice: 10000.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user