๐ Crypto Portfolio Tracker A multi-language crypto portfolio tracking web app built with Streamlit allowing users to:
Track cryptocurrency investments
Predict future prices
View crypto-related news
Backtest strategies
Secure login/signup (file-based authentication)
Choose UI language: ๐ฌ๐ง English | ๐ต๐ฐ Urdu | ๐ณ๐ฑ Dutch
๐ Features ๐ Authentication System โ Signup/Login with secure password hashing
๐ Multi-language Interface โ English, Urdu, and Dutch translations
๐ Portfolio Tracking โ Add/delete crypto assets and track profit/loss
๐ Visualizations โ Plotly charts for performance and distribution
๐ฐ Latest News โ Get live crypto news using NewsAPI
๐ฎ Price Prediction โ Predict prices for the next 7 days using Linear Regression
๐ Backtesting โ View historical performance of assets
๐ฅ CSV Download โ Export your portfolio in .csv format
๐จ Custom Dark Theme โ Stylish, responsive UI with minimal white space
๐ ๏ธ Tech Stack Python
Streamlit
Pandas, NumPy, Scikit-learn
Plotly
Requests, hashlib
NewsAPI, CoinGecko API
๐งฐ Installation Clone the repository: git clone https://github.com/yourusername/crypto-portfolio-tracker.git cd crypto-portfolio-tracker Install dependencies:
pip install -r requirements.txt Run the app:
streamlit run app.py ๐ API Keys Replace api_key in the fetch_news() function with your own key from NewsAPI.org.
๐ Folder Structure crypto-portfolio-tracker/ โ โโโ app.py # Main Streamlit app โโโ users.csv # File-based user storage โโโ requirements.txt # Python dependencies โโโ README.md # Project documentation ๐ฌ Multi-Language Support Use the sidebar to switch between languages. App supports:
English
Urdu
Dutch
๐ Note This app is built for educational/demo purposes.
Prices are fetched using the free CoinGecko API (60s cache).
Prediction is a basic linear regression model for demonstration.
๐ Acknowledgements Streamlit
NewsAPI
CoinGecko API