How julestristan/himid works
Himid is a portfolio-monitoring app that fetches market data, calculates investment performance and correlations, and presents analysis through a Streamlit dashboard and emailed report. The main report workflow is implemented in src/main.py; the dashboard calls correlation analysis directly. Rust supplies the performance calculation. Source excerpts show these connections, but do not establish any scheduler or persistent storage.
Main entry points: main.py Report generation · app.py Streamlit dashboard · cor_matrix.py Correlation heatmap · lib.rs Performance calculation
Components 12
User interfaces
- Streamlit dashboard
src/app.py
Portfolio analytics
- Portfolio holdings
src/main.py - Correlation heatmap
src/cor_matrix.py - Performance calculation
himid-core/src/lib.rs - Daily-move analysis
src/main.py
Report and integrations
- Report generation
src/main.py - Email delivery
src/main.py - Yahoo Finance
- OpenAI API
- Gmail SMTP
Other components
- Investor
- Email recipient
Connections 16
- Investor → Streamlit dashboard: opens
src/app.py - Investor → Report generation: runs
src/main.py - Streamlit dashboard → Portfolio holdings: loads holdings
src/app.py - Streamlit dashboard → Correlation heatmap: requests heatmap
src/app.py - Correlation heatmap → Yahoo Finance: downloads prices
src/cor_matrix.py - Report generation → Portfolio holdings: reads holdings
src/main.py - Report generation → Yahoo Finance: fetches quotes
src/main.py - Report generation → Performance calculation: calculates returns
src/main.py - Report generation → Daily-move analysis: requests analysis
src/main.py - Daily-move analysis → Yahoo Finance: fetches news
src/main.py - Daily-move analysis → OpenAI API: requests explanation
src/main.py - Streamlit dashboard → OpenAI API: requests diversification
src/app.py - Report generation → Correlation heatmap: builds heatmaps
src/main.py - Report generation → Email delivery: sends report
src/main.py - Email delivery → Gmail SMTP: sends message
src/main.py - Gmail SMTP → Email recipient: delivers email