Skip to content

Discord bot designed to efficiently display as many cryptocurrency pair prices as possible based on Binance API.

License

Notifications You must be signed in to change notification settings

Vowzss/CryptoTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptoTracker

CryptoTracker is a discord bot made to display as much crypto currency pair prices as possible.

Installation

First of all you need to install Java 8.
Then you can drag and drop "CryptoTracker.jar" inside your folder of choice.

Run

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/.

Usage

Display is done automatically, though you can have a look at the bot's stats by using the command.

/stats

Configuration

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 track
  • owner_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"

Tracking Exemples

Some exemples of configurations that can run.

Other information

Looking to get more details? Please refer to Binance API on (https://www.binance.com/en/binance-api).

Contributing

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.

About

Discord bot designed to efficiently display as many cryptocurrency pair prices as possible based on Binance API.

Topics

Resources

License

Stars

Watchers

Forks

Languages