๐ Simple ROI (Return on Investment)
๐ก What is it?
Simple ROI measures value generated relative to invested capital. In the current portfolio engine, the invested-capital denominator is the capital baseline from cumulative_external_cash_flow, not cash-only deposits.
๐งฎ Formula
The same baseline drives headline total_gain_loss:
CapitalBaseline includes ordinary external cash flows and priced in-kind ADJUSTMENT/TRANSFER capital. That prevents inherited or seeded portfolios from showing absurd ROI because an asset entered without a cash deposit.
๐ช The ROI of a Period
The ROI on the Dashboard's Returns card and its line on the % chart measure the selected period, not the whole history. Their capital is the value the period opens with, plus the deposits and minus the withdrawals made after it:
where \(t_0\) is the last day of the history on or before the period's start, and \(\mathrm{CF}_s\) counts the external flows โ deposits positive, withdrawals negative, in-kind capital included as for the capital baseline above. The card is the line's last point; where \(\mathrm{NetInvested}(t)\) is zero the ROI is \(0\), never a missing value.
When the period starts before the portfolio's first day, there is no value to open with, and the flows of that first day โ the first deposit โ would fall outside the sum. The period then holds the whole history, so its capital is every flow, the first deposit included: the ROI is the same as with no start date at all, on the card and at every point of the line.
๐ฏ When to use it
- To read headline portfolio gain/loss against contributed economic capital.
- To compare current NAV against the current capital baseline.
- To sanity-check cash-flow-adjusted performance before looking at TWRR/MWRR.
๐ Position Net Annualized Return
Open holdings also expose a net CAGR:
Annualization uses:
The window starts at the first lot-affecting transaction: BUY, SELL, ADJUSTMENT, or TRANSFER. Values shorter than 30 days are suppressed. Full definitions are in Net Annualized Return.
โ ๏ธ The Flaw: Cash Flow Dilution
Simple ROI is still sensitive to the amount and timing of capital added. If you add a large contribution after gains have already occurred, the ratio can fall even though market value did not. Use Period P&L, TWRR, and MWRR to separate absolute profit, strategy return, and money-weighted investor return.