Description
Allow users to compare their total portfolio performance or single asset performance (later on another future PR)
against a selected benchmark (e.g. S&P 500, NASDAQ, or a selectable ETF/INDEX from our symbol search).
This would help users understand whether their strategy is outperforming or underperforming
the broader market.
High-level idea
- User selects a benchmark (index or ETF).
- Foliofox calculates performance over the same time period:
- Total portfolio vs benchmark, or
- Single asset vs benchmark (later, in a future PR, not for this mvp).
- Comparison is based on investing the same capital over the same dates.
- Results are displayed in the net worth chart with another line.
Notes
Exact calculation logic, supported benchmarks, and UI/UX will be defined later.
!This issue requires a computation of user portfolio performance over time period first.