How sergiosnw/fintech-dashboard works
Fintech Dashboard is a desktop crypto portfolio tracker. Users manage assets in the portfolio UI; the app persists changes locally, refreshes portfolio prices and global market data, then presents valuation, currency conversions, allocation charts, and market analytics. The main entry point coordinates startup and the async refresh workflow. The graph includes documented UI and worker capabilities, but source excerpts do not show every UI-to-callback or worker wiring detail; those uncertain links are omitted.
Main entry points: main.py App Coordinator · main_window.py Dashboard Window · update_portfolio.py Portfolio Valuation · fetch_global_market_data.py Global Market Fetch
Components 16
Application
- App Coordinator
main.py
Portfolio Domain
- Portfolio Models
src/domain/models.py
Market Data
- Portfolio Valuation
src/use_cases/update_portfolio.py - Asset Price Fetch
src/use_cases/fetch_market_data.py - Global Market Fetch
src/use_cases/fetch_global_market_data.py - Market API Client
src/infrastructure/api_client.py
Persistence
- Portfolio Repository
src/infrastructure/portfolio_repository.py - SQLite Portfolio Store
Desktop UI
- Dashboard Window
src/ui/main_window.py - Add Asset Dialog
src/ui/components/add_asset_dialog.py - Edit Asset Dialog
src/ui/components/edit_asset_dialog.py - Background Workers
src/ui/workers.py - Portfolio Worker
src/ui/workers/update_portfolio_worker.py - Market Worker
src/ui/workers/global_market_worker.py
Other components
- Portfolio User
- CoinGecko
Connections 20
- Portfolio User → Dashboard Window: manages portfolio
README.md - App Coordinator → Dashboard Window: creates
main.py - App Coordinator → Portfolio Repository: loads and saves
main.py - Portfolio Repository → SQLite Portfolio Store: reads and writes
src/infrastructure/portfolio_repository.py - Portfolio Repository → Portfolio Models: creates assets
src/infrastructure/portfolio_repository.py - App Coordinator → Portfolio Models: builds portfolio
main.py - App Coordinator → Portfolio Valuation: runs refresh
main.py - App Coordinator → Global Market Fetch: runs refresh
main.py - Portfolio Valuation → Asset Price Fetch: fetches prices
src/use_cases/update_portfolio.py - Asset Price Fetch → Market API Client: requests prices
src/use_cases/fetch_market_data.py - Global Market Fetch → Market API Client: requests market data
src/use_cases/fetch_global_market_data.py - Market API Client → CoinGecko: sends HTTP requests
src/infrastructure/api_client.py - App Coordinator → Dashboard Window: supplies refreshed data
main.py - Dashboard Window → Add Asset Dialog: opens dialog
src/ui/main_window.py - Dashboard Window → Edit Asset Dialog: opens dialog
src/ui/main_window.py - Dashboard Window → Market API Client: fetches chart history
src/ui/main_window.py - Background Workers → Portfolio Valuation: runs valuation
src/ui/workers.py - Background Workers → Global Market Fetch: fetches market data
src/ui/workers.py - Portfolio Worker → Portfolio Valuation: runs valuation
src/ui/workers/update_portfolio_worker.py - Market Worker → Global Market Fetch: fetches market data
src/ui/workers/global_market_worker.py