Skip to content

WesR/StockStatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StockStatBot

A bot that fetches stats about the markets. You need an IEX and IEA key (both free for what I call, but you can pay for IEX and get better stats)

It goes into a json file in the same dir called apiKeys.json. The formatting of that json is below:

{
    "discord": "THATDISCORD.APIKEYTHATHAS.TWODOTS",
    "iexDev": "Tpk_0xIEXDEVKEY_soYOUcanTestSavingCredits",
    "iex": "pk_0xIEXprodKeyForRealData",
    "iea": "IEAkey_thanksGoverment"
}

Current commands:

+book +oil [spot; defaults to future] +gas [future, retail[premium, defaults to avg]; defaults to spot] +diesel [defaults to spot] +ngas [defaults to future] +help

Example @get gas retail premium or @get gas ngas oil (my bot is named @get) We do some extra code so the user can use the autocomplete @get or just type it and still have it called. See my weather bot to just get the code for an @ only.

About

A bot that fetches stats about the markets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages