diff --git a/config/pricealert-tg.yaml b/config/pricealert-tg.yaml index 0ee50ccad..2021160d3 100644 --- a/config/pricealert-tg.yaml +++ b/config/pricealert-tg.yaml @@ -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 diff --git a/doc/configuration/telegram.md b/doc/configuration/telegram.md index 27fda9094..add1c5e0e 100644 --- a/doc/configuration/telegram.md +++ b/doc/configuration/telegram.md @@ -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`