Skip to content

A Binance ticker CLI tracker, where a daemon is created for a symbol pair and can be queried by a frontend binary.

License

Notifications You must be signed in to change notification settings

uptudev/tikrtrakr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tikrtrakr

tikrtrakr is a simple cryptocurrency application that allows users to track the price of a given symbol pair on the Binance exchange. The application is made up of a daemon that fetches the latest price of a given symbol pair at a given interval, and a frontend CLI tool that parses the JSON output of the daemon and displays the price in a human-readable format.

Table of Contents

Installation

This project contains a custom configure/make build system. To build the project, run the following commands:

git clone https://github.com/uptudev/tikrtrakr.git
cd tikrtrakr
./configure
make
sudo make install
git clone https://github.com/uptudev/tikrtrakr.git
cd tikrtrakr
./configure
make
sudo make install

Daemon

Start a daemon for a pair to track the price, with a default interval of 5 seconds:

tikrtrakrd <symbol_pair> [interval]

Examples

// Start a daemon for the BTCUSDT pair that fetches the price every 60 seconds
tikrtrakrd BTCUSDT 60

// Start a daemon for the XRPUSDT pair that fetches the price every 5 seconds
tikrtrakrd XRPUSDT

Client

Now, you can use the frontend CLI tool to display the cached price of the pair:

tikrtrakr <symbol_pair>

Example

// Display the cached price of the BTCUSDT pair
tikrtrakr BTCUSDT

In the future, you can stop the daemon by running the following command:

tikrtrakrd stop <symbol_pair>

Contributing

PRs will be reviewed and merged if they are relevant to the project. Please ensure that your PRs are well-documented and follow the project's coding standards. Thank you for contributing!

License

This project is licensed under the MIT License. For more information, see the LICENSE file.

About

A Binance ticker CLI tracker, where a daemon is created for a symbol pair and can be queried by a frontend binary.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages