bbgo_origin/doc/configuration/slack.md

24 lines
381 B
Markdown
Raw Normal View History

### Setting up Slack Notification
2021-12-06 16:20:18 +00:00
Put your slack bot token in the `.env.local` file:
```sh
SLACK_TOKEN=xxoox
```
And add the following notification config in your `bbgo.yml`:
```yaml
---
notifications:
slack:
defaultChannel: "bbgo-xarb"
errorChannel: "bbgo-error"
# routing rules
routing:
trade: "$silent"
order: "$slient"
submitOrder: "$slient"
2021-12-06 16:20:18 +00:00
```