config: add notification settings to grid2

This commit is contained in:
c9s 2022-12-04 15:34:24 +08:00
parent 813f9c45a7
commit 92733411a3
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
2 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,13 @@
---
notifications:
slack:
defaultChannel: "dev-bbgo"
errorChannel: "bbgo-error"
switches:
trade: false
orderUpdate: false
submitOrder: false
sessions:
max:
exchange: max
@ -11,7 +20,7 @@ backtest:
endTime: "2022-11-25"
symbols:
- BTCUSDT
sessions: [max]
sessions: [ max ]
accounts:
binance:
balances:
@ -26,8 +35,8 @@ exchangeStrategies:
grid2:
symbol: BTCUSDT
upperPrice: 18_000.0
lowerPrice: 12_000.0
gridNumber: 10
lowerPrice: 13_000.0
gridNumber: 100
## compound is used for buying more inventory when the profit is made by the filled SELL order.
## when compound is disabled, fixed quantity is used for each grid order.

View File

@ -1,4 +1,13 @@
---
notifications:
slack:
defaultChannel: "dev-bbgo"
errorChannel: "bbgo-error"
switches:
trade: false
orderUpdate: false
submitOrder: false
sessions:
binance:
exchange: binance