Giter Site home page Giter Site logo

noideaindustry / cryptotracker Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 119 KB

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

License: GNU General Public License v3.0

Java 100.00%
cryptocurrencies discord-bot binance-api

cryptotracker's Introduction

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.

cryptotracker's People

Contributors

vowzss avatar

Stargazers

RivalsZZs avatar AcediaBit avatar Twingles avatar

Watchers

 avatar

Forkers

rivalszzs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.