Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Latest commit

 

History

History
72 lines (50 loc) · 1.74 KB

README.md

File metadata and controls

72 lines (50 loc) · 1.74 KB

crypto-book

Crypto-Book is a way to track and ask the price of a crypto currency in your terminal !

Only supporting Python 3.x

This is my first python app, i'm maybe not aware of python best practice.

Bittrex API with python-bittrex

Image of the app

Install

To install use

git clone https://github.com/vafanassieff/crypto-book.git
pip3 install terminaltables
pip3 install colr
pip3 install blessed
./cryptobook.py

If you are on UNIX and lazy you can run the setup.sh

You need to edit the example-config.json file in the example folder if needed, ranme it to example.json and move it to the root of cryptobook folder.

Usage

To buy a crypto use

./cryptoboo.py buy currency

Showing your position

./cryptoboo.py position -l

Close a position

./cryptoboo.py close id

Order book is stored in a JSON file, see example-book.json in the example folder

Feature

  • Get the price of your crypto using price command
  • Choose your market (BTC, ETH, USDT) if available
  • Show your current position and profit since your opened it
  • Close position to remove it from the order book
  • Live view using position with -l

In Dev

  • Nice display of info
  • Supporting more exchange (only Bittrex atm)

Documention

Use the -h option for priting usage with command and subcommand

Build with

Disclaimer

This is my first CLI app in python, bug may be found !