Merge pull request #358 from andycheng123/main

doc: fix tg doc, needs no notification: block
This commit is contained in:
Yo-An Lin 2021-12-13 14:37:51 +08:00 committed by GitHub
commit 0f8ffb70bb
2 changed files with 0 additions and 19 deletions

View File

@ -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

View File

@ -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`