Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonbloom/stonkbot


https://github.com/jonbloom/stonkbot

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

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