mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
Merge pull request #358 from andycheng123/main
doc: fix tg doc, needs no notification: block
This commit is contained in:
commit
0f8ffb70bb
|
@ -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