Skip to content

Commit

Permalink
doc: fix tg doc, needs no notification: block
Browse files Browse the repository at this point in the history
  • Loading branch information
andycheng123 committed Dec 13, 2021
1 parent e3cc810 commit 3801639
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions config/pricealert-tg.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 0 additions & 11 deletions doc/configuration/telegram.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 3801639

Please sign in to comment.