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

A way to track your invest in crypto, based on exchange API to track your gain or loss

Notifications You must be signed in to change notification settings

vafanassieff/crypto-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !

About

A way to track your invest in crypto, based on exchange API to track your gain or loss

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published