A simple Python project to track your cryptocurrency portfolio, calculate returns, and visualize your holdings.
- Calculates profit/loss for each coin
- Fetches live prices (or use manual prices)
- Visualizes portfolio distribution with charts
-
Clone the repo:
git clone https://github.com/ajay-techspace/crypto_portfolio_tracker.git cd crypto-portfolio-tracker
-
Install dependencies:
pip install -r requirements.txt
-
Add your portfolio to
portfolio.csv
(see sample below).
Run the main script:
python main.py
coin | quantity | buy_price |
---|---|---|
bitcoin | 0.5 | 20000 |
ethereum | 2 | 1500 |
- pandas
- requests
- matplotlib
This project is licensed under the MIT License.