Skip to content

Commit

Permalink
Merge pull request c9s#358 from andycheng123/main
Browse files Browse the repository at this point in the history
doc: fix tg doc, needs no notification: block
  • Loading branch information
c9s authored Dec 13, 2021
2 parents e3cc810 + 3801639 commit 3c42897
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 3c42897

Please sign in to comment.