mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +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
|
## Helm Chart
|
||||||
|
|
||||||
|
Prepare your secret:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl create secret generic bbgo --from-env-file .env.local
|
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
|
## Support
|
||||||
|
|
||||||
### By contributing pull requests
|
### By contributing pull requests
|
||||||
|
|
|
@ -15,7 +15,7 @@ nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
configmap:
|
configmap:
|
||||||
file: "config/bollgrid.yaml"
|
file: "config/bbgo.yaml"
|
||||||
|
|
||||||
dotenv:
|
dotenv:
|
||||||
secret: "bbgo"
|
secret: "bbgo"
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
---
|
---
|
||||||
imports:
|
|
||||||
- github.com/c9s/bbgo/pkg/strategy/buyandhold
|
|
||||||
- github.com/c9s/bbgo/pkg/strategy/xpuremaker
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
slack:
|
slack:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
|
@ -57,10 +53,21 @@ backtest:
|
||||||
USDT: 10000.0
|
USDT: 10000.0
|
||||||
|
|
||||||
exchangeStrategies:
|
exchangeStrategies:
|
||||||
|
|
||||||
- on: max
|
- on: max
|
||||||
buyandhold:
|
buyandhold:
|
||||||
symbol: "BTCUSDT"
|
symbol: "BTCUSDT"
|
||||||
interval: "1h"
|
interval: "5m"
|
||||||
baseQuantity: 0.01
|
baseQuantity: 0.01
|
||||||
# minDropPercentage: 0.01
|
# minDropPercentage: 0.01
|
||||||
minDropChange: 100.0
|
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