mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
doc: fix tg doc, needs no notification: block
This commit is contained in:
parent
d847d223e3
commit
5a6ff7ebb7
|
@ -1,12 +1,4 @@
|
|||
---
|
||||
notifications:
|
||||
# object routing rules
|
||||
routing:
|
||||
trade: "$symbol"
|
||||
order: "$symbol"
|
||||
submitOrder: "$session" # not supported yet
|
||||
pnL: "bbgo-pnl"
|
||||
|
||||
sessions:
|
||||
binance:
|
||||
exchange: binance
|
||||
|
|
|
@ -26,17 +26,6 @@ TELEGRAM_BOT_AUTH_TOKEN=itsme55667788
|
|||
The alerting strategies use Telegram bot notification without further configuration. You can check the [pricealert
|
||||
yaml file](../../config/pricealert-tg.yaml) in the `config/` directory for example.
|
||||
|
||||
If you want the order submitting/filling notification, add the following to your `bbgo.yaml`:
|
||||
|
||||
```yaml
|
||||
notifications:
|
||||
routing:
|
||||
trade: "$symbol"
|
||||
order: "$symbol"
|
||||
submitOrder: "$session"
|
||||
pnL: "bbgo-pnl"
|
||||
```
|
||||
|
||||
Run your bbgo.
|
||||
|
||||
Open your Telegram app, search your bot `bbgo_bot_711222333`
|
||||
|
|
Loading…
Reference in New Issue
Block a user