mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 23:35:14 +00:00
789 B
789 B
Setting up Slack Notification
Go to the Slack apps page to create your own slack app:
Click "Install your app" -> "Install to Workspace" in Settings/Basic Information.
Copy the Bot User OAuth Token in Features/OAuth & Permissions.
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"
switches:
trade: true
orderUpdate: true
submitOrder: true
Besure to add your bot to the public channel by clicking "Add slack app to channel".