Skip to content

Quratulain-bilal/CRYPTO_PORTFOLIO_TRACKER_2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ 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

Releases

No releases published

Packages

 
 
 

Contributors

Languages