Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonbloom/stonkbot
https://github.com/jonbloom/stonkbot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonbloom/stonkbot
- Owner: jonbloom
- Created: 2021-02-04T15:54:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T23:59:20.000Z (over 3 years ago)
- Last Synced: 2024-06-01T07:35:32.920Z (5 months ago)
- Language: JavaScript
- Size: 56.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - jonbloom/stonkbot - (JavaScript)
README
# stonkbot
pull realtime trades from finhubb and post them to discord channels. currently the same set of tickers will be sent to all subscribed channels.
populate a .env file with the followign values
```
DISCORD_TOKEN=
FINNHUB_TOKEN=
````npm install`
`node server.js`
invite the bot to your server, then use the following commands:
`^^add ` - adds ticker to finnhub subscription
`^^remove ` - removes ticker from finnhub subscription
`^^send` - post updates in this channel
`^^unsend` - stop posting updates in this channel