Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 748 Bytes

slack.md

File metadata and controls

37 lines (25 loc) · 748 Bytes

Setting up Slack Notification

Go to the Slack apps page to create your own slack app:

https://api.slack.com/apps

Click "Install your app" -> "Install to Workspace"

Copy the Bot User OAuth Token.

Put your slack bot token in the .env.local file:

SLACK_TOKEN=xxoox

And add the following notification config in your bbgo.yml:

---
notifications:
  slack:
    defaultChannel: "bbgo-xarb"
    errorChannel: "bbgo-error"

  # routing rules
  routing:
    trade: "$silent"
    order: "$slient"
    submitOrder: "$slient"

Besure to add your bot to the public channel by clicking "Add slack app to channel".

See Also