CryptoTracker is a discord bot made to display as much crypto currency pair prices as possible.
First of all you need to install Java 8.
Then you can drag and drop "CryptoTracker.jar" inside your folder of choice.
java -jar CryptoTracker.jar
You can also use a session manager to make your bot run 24h/24.
A good tool called tmux (only working on linux OS) -> https://tmuxcheatsheet.com/.
Display is done automatically, though you can have a look at the bot's stats by using the command.
/stats
This is how the configuration looks like.
You have two exemples:
- on the left, the default configuration that you will have to fill up with your informations.
- on the right, a custom configuration (without bot token for security reasons).
The configuration is pretty self-explanatory:
token
: your bot token generated when creating an app on (https://discord.com/developers/applications).symbol
: PAIR1 is the crypto you want to track and PAIR2 is it's reference price
-> (BTCUSDT) as an exemple means you are tracking BTC price according to the USDT price.crypto
: PAIR1 is the crypto you want to trackowner_id
: your personal id on discord (optional).decimal
: decimal displayed on the price. (refer to "Tracking Exemples").
-> 4 as an exemple means with pair BTCUSDT : "6185"
-> 1 as an exemple means with pair LTCUSDT : "9"
Some exemples of configurations that can run.
Looking to get more details? Please refer to Binance API on (https://www.binance.com/en/binance-api).
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.