CryptoCashier: HowTo track your portfolio value in BTC/USD

in cryptocurrency •  6 years ago 

Hello Steemians/Steemers,

Like everyone in the crypto space, I wanted the perfect tool to keep an eye on my crypto portfolio value in BTC/USD.
Lots of tools exists out there to do so, but they all have drawbacks of some sort.
That goes from excel spreadsheets, online services, mobile apps, etc ...
Since i didn't wanted to associate any email with any crypto address, i decided to script my own solution.

Let me introduce you the BETA version of the CryptoCashier !

IDEA

I had the idea looking at my groceries tickets.
I wanted to output something similar within my OS terminal.

ticket1
ticket2

CRYPTOCASHIER

The cryptocashier is a simple python script that uses the coinmarketcap API to generates reports of your portfolio value in BTC/USD of two sorts (so far) :

  • ticket mode
  • html mode.

The script uses :

  • python
  • json
  • jinja2 templating (ticket/html)
  • bootstrap (html)

THE CODE

The code is hosted and documented on Gitlab: HERE

TICKET MODE

The idea is to setup an alias in your terminal to generates a ticket whenever you want.
Example output in ticket mode :

ticket mode

HTML MODE

The idea is to setup a cron to update an HTML page that contains your portfolio value.
Example output in html mode :

html mode

ROADMAP

  • Add the possibility to send values to an influxDB database (so you can graph your portfolio with grafana)
  • Track the gain/loss of a specific trade overtime separetly
  • Overall Improvements
  • Cleaning code

FEEDBACK

I hope this tool can be usefull for someone, don't hesitate to make pull requests on the projet, if you think of some interesting modifications, as i am not a python developer, just doing my best.
If you have any trouble running the script, post in the comments, i'll try to help you get it running.

Thanks for reading and have a nice day !

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for this info, can sure use this.

Congratulations @klems! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!