About CryptoScope
What is CryptoScope?
CryptoScope is a cryptocurrency portfolio tracker that provides real-time P&L calculations, gas fee analysis, and market correlation charts. Track your holdings across multiple wallets, monitor market performance, and analyze your trading history.
Features
Portfolio Tracking
Track token holdings with cost basis, unrealized and realized P&L calculations.
Gas Fee Analysis
Monitor gas prices with historical data, trends, and spending analytics.
Transaction Tracking
Log buy, sell, and transfer transactions with automatic cost basis updates.
Correlation Matrix
Analyze price correlations between tokens for portfolio diversification.
Tech Stack
- Backend: Python 3.11, Flask, SQLAlchemy
- Database: SQLite
- Frontend: Bootstrap 5, Chart.js
- Testing: pytest
- Deployment: Docker, Gunicorn
API Documentation
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/wallets | List wallets |
| POST | /api/wallets | Create wallet |
| GET | /api/wallets/:id | Wallet details |
| DELETE | /api/wallets/:id | Delete wallet |
| POST | /api/transactions | Execute transaction |
| GET | /api/portfolio/summary | Portfolio summary |
| GET | /api/market/prices | All token prices |
| GET | /api/market/history/:sym | Price history |
| GET | /api/market/correlation | Correlation matrix |
| GET | /api/gas/current | Current gas price |
| GET | /api/gas/history | Gas history |
| GET | /api/gas/stats | Gas statistics |
Built with Flask & Chart.js • MIT License