Skip to content

peroksid90/crypto_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto_calculator

Register to https://www.quandl.com to obtain API_KEY and use it for enviroment variable QUANDL_API_KEY

pip install pandas
pip install bokeh

QUANDL_API_KEY=YOUR_API_KEY bokeh serve /path/to/crypto_calculator_dir/

then open in a browser http://localhost:5006/crypto_calculator

Alt text Alt text

Cummulative - is a sum of each mining profit for all elapsed days.

Equipment cost is used as a long position in BTC. For example: You start date 01.01.2020 and Equipment cost is 2500$. The program take a BTC price for the date: 01.01.2020, say it 30000 $. It calculate a hold position as: hold = 2500 / 30000 hold = 0.0833 BTC

And then this position(0.0833) is recalculated on each point of the chart according to the current market BTC price.

Cummulative BTC - if you hold mined BTC instead of sell on each day(as in case of Cummulative)

The left axis is used for hold and cummulative. So you can compare what is better - spend money(Equipment cost) to buy a miner and mine, or just spend in to buy BTC and hold.

Contribution are welcome!

TODO

Add mining pool fee calculation

Add transaction earnings (FPPS)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages