Conan Mercer Site Reliability Engineer
Crypto Currency - Manage Your Portfolio with Python
10 Aug 2021 - Conan Mercer
Using Python to Analyse your Crypto Currency Portfolio
Crypto currencies such as Bitcoin and Ethereum are growing in popularity and market capitalization. This post looks at how to analyse your personal portfolio using Python, which is useful to gain a view of your entire portfolio, as it may be spread out over time and be located in different wallets or platforms. The script displays the total percentage gain or loss of the portfolio, as well as calculations on what the value might be after capital gains tax is taken into consideration. The script also provides up to date charts on various crypto currency prices.
The information in this blog post does not represent my, or anyone elses, crypto currency portfolio. The information presented here is for educational and entertainment purposes only.
The data is stored in a separate csv file (data.csv) that holds all of the data required for the Python script to run. This data file can be modified to match your own portfolio of crypto currency.
This Jupyter Notebook also resides on my GitHub - it can be viewed from here