Summary
Build a comprehensive analytics dashboard showing portfolio performance metrics, yield history, and risk analysis for lenders.
Problem
Lenders have no visibility into their portfolio performance over time. They can see current positions but not historical yields, risk exposure, or diversification metrics.
Requirements
- Total portfolio value (USD equivalent) over time
- Yield earned per position and aggregate
- Risk exposure by invoice status (Financed, Repaid, Defaulted)
- Diversification metrics (number of invoices, currencies, originators)
- Historical charts (30d, 90d, 1y, all-time)
- Export to CSV/PDF
- Shareable portfolio snapshot
Technical Details
- Data from indexer aggregate tables (Task 13)
- Charts via
recharts or @nivo library
- Historical data from Soroban event history
- PDF export via
@react-pdf/renderer
Acceptance Criteria
Related Issues
Summary
Build a comprehensive analytics dashboard showing portfolio performance metrics, yield history, and risk analysis for lenders.
Problem
Lenders have no visibility into their portfolio performance over time. They can see current positions but not historical yields, risk exposure, or diversification metrics.
Requirements
Technical Details
rechartsor@nivolibrary@react-pdf/rendererAcceptance Criteria
Related Issues