Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nibalizer/discordstonksbot

A Bot to query stock ticker information from discord
https://github.com/nibalizer/discordstonksbot

Last synced: about 1 month ago
JSON representation

A Bot to query stock ticker information from discord

Awesome Lists containing this project

README

        

# Discord Stonks Bot

Query stock ticker information from discord

![bot](img/discord_stonk_bot.png)

# Commands

`!q foo`
`!quote foo`
`!q foo,bar,baz`
`!detail aapl`
`!c aapl 5w`
`!short gme`

# Notes

* Uses the Finnhub API, requires a finnhub account
* See `example_config.txt` for environment variables to pass to docker
* Run with `docker run --env-file foo.txt`
* Requires `stonksdata.txt` which can be generated from scripts [here](https://github.com/nibalizer/stonksapi/blob/main/contrib/get_stonks_db.sh)